FileAssetCache class

Implemented types

Constructors

FileAssetCache({required Directory directory})

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

clear() → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String sourceUri) → Future<CachedAssetEntry?>
override
remove(String sourceUri) → Future<void>
override
toString() → String
A string representation of this object.
inherited
write({required String sourceUri, required List<int> bytes, required DateTime cachedAt, String? contentType, String? suggestedFileExtension}) → Future<CachedAssetEntry?>
override

Operators

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