GenericCache<T> class
abstract
Abstract generic cache of type T
- Implementers
Constructors
- GenericCache({String? basePath})
- Constructor for GenericCache with optional basePath
Properties
Methods
-
load(
String key) → Future< T> - Load an asset from the cache or load it from the asset bundle and cache it
-
loadAsset(
String key) → Future< T> -
Load and decode an asset from a bundle given a
key
-
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