fetchWithKey method

Future fetchWithKey(
  1. String key
)
inherited

Fetch a object by the key

Implementation

Future<dynamic> fetchWithKey(String key) async {
  final SharedPreferences prefs = await _sharedPref;
  final savedKey = 'ume_${runtimeType.toString}_$key';
  return prefs.get(savedKey);
}