read method

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

Reads the value associated with the given key.

Returns null if the key does not exist.

Implementation

@override
Future<String?> read(String key) => _prefs.getString(key);