ArtifactCache class final

Backwards-compatible facade around ArtifactInstaller.

This keeps the earlier API working while exposing a more explicit installer abstraction for advanced use.

Constructors

ArtifactCache({required Directory cacheDir, ArtifactInstaller? installer})

Properties

cacheDir → Directory
The root cache directory.
final
hashCode → int
The hash code for this object.
no setterinherited
installer → ArtifactInstaller?
The installer used to populate the cache.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve({required PrebuiltManifest manifest, required NativeTarget target, required String libraryStem, required ArtifactPayload payload, Logger? logger}) → Future<File?>
toString() → String
A string representation of this object.
inherited

Operators

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