WidgetCache class

Constructors

WidgetCache()

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(String key) Future<void>
Removes the cached entry for key.
clearAll() Future<void>
Removes all entries written by this cache.
load(String key) Future<List<WidgetEntry>?>
Returns the cached widget list for key, or null if nothing is stored or the stored data cannot be parsed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String key, String rawJson) Future<void>
Persists a raw API response body string under key.
toString() String
A string representation of this object.
inherited

Operators

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