UArtworkCache class abstract final

Memory cache of album art so lists do not decode the same picture twice.

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

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

bytesHeld → int
Bytes of artwork currently cached.
no setter

Static Methods

clear() → void
Empties the cache.
load(UArtworkRef ref) → Future<Uint8List?>
Loads (and caches) artwork bytes.
peek(UArtworkRef ref) → Uint8List?
Cached artwork, or null without loading.