read method

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

Read cookie string from the given key in the storage.

Implementation

@override
Future<String?> read(String key) async {
  final box = await _openBox();
  return box.get(key);
}