read method

  1. @override
Future<String?> read(
  1. String key
)

Implementation

@override
Future<String?> read(String key) async {
  if (await containsKey(key)) {
    return _prefs!.getString(_getPrefixedKey(key));
  }
  return null;
}