fromStore<T extends Object> static method
Implementation
static Future<T?> fromStore<T extends Object>(String key) async {
String? storeValue = await storage.read(key: key);
if (storeValue == null) {
return null;
} else {
T data = jsonDecode(storeValue) as T;
set(key, data);
return data;
}
}