read method

  1. @override
dynamic read(
  1. String key
)
override

Returns the value for key, or null when there is none.

Implementation

@override
dynamic read(String key) {
  _checkOpen('read');
  return _pending.read(
    key,
    decode: _codec.decode,
    fromStorage: () => _readFile(key),
  );
}