get method

Future<String> get(
  1. String key
)

Get entry with key from local storage

Implementation

Future<String> get(String key) async {
  String debugPrefix = '$runtimeType.get()';
  lazy.log(debugPrefix, forced: debugLog || lazy.logEnable);
  var pref = await getPref();
  return pref.getString(_key(key)) ?? '';
}