value method
Retrieves the data located at key
or null
if a cache miss occurs.
Implementation
@override
Future<Map<String, dynamic>?> value(String key) async {
final strJson = _storage.getItem(key);
return strJson == null
? null
: json.decode(strJson) as Map<String, dynamic>;
}