write method

  1. @override
Future<void> write(
  1. String key,
  2. String value
)

Write cookie value with the given key to the storage.

Implementation

@override
Future<void> write(String key, String value) async {
  final box = await _openBox();
  await box.put(key, value);
}