fetchWithKey method

Future fetchWithKey(
  1. String key
)

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 await prefs.get(savedKey);
}