FlareCache class

Cache that instances Flare assets from ".flr" extension.

Inheritance

Constructors

FlareCache()

Properties

hashCode int
The hash code for this object.
no setterinherited
isPruningEnabled bool
no setteroverride
pruneAfter Duration
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drop(FlareCacheAsset asset) → void
inherited
getAsset(AssetProvider assetProvider) Future<FlareCacheAsset>
Get an asset from the cache or load it.
inherited
getWarmAsset(AssetProvider assetProvider) FlareCacheAsset?
Get an asset from the cache.
inherited
hold(FlareCacheAsset asset) → void
inherited
makeAsset() FlareCacheAsset
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

doesPrune bool
getter/setter pair
pruneDelay Duration
getter/setter pair