PackageCache class abstract

Caches downloaded PackageArchives by package name. Web-safe by contract: the default MemoryPackageCache holds bytes in memory; a disk-backed implementation is provided for the VM (see FilePackageCache).

Implementers

Constructors

PackageCache()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String name) → FutureOr<PackageArchive?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(PackageArchive archive) → FutureOr<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited