LottieCache class

Constructors

LottieCache()

Properties

count int
The number of entries in the cache.
no setter
hashCode int
The hash code for this object.
no setterinherited
maximumSize int
Maximum number of entries to store in the cache.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Evicts all entries from the cache.
evict(Object key) bool
Evicts a single entry from the cache, returning true if successful.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putIfAbsent(Object key, Future<LottieComposition> loader()) Future<LottieComposition>
Returns the previously cached LottieComposition for the given key, if available; if not, calls the given callback to obtain it first. In either case, the key is moved to the "most recently used" position.
toString() String
A string representation of this object.
inherited

Operators

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