put method

  1. @override
  2. @protected
Future<void> put({
  1. required String key,
  2. required String? value,
})
override

Write a record from the database

Implementation

@override
@protected
Future<void> put({required String key, required String? value}) async =>
    value == null ? _box.delete(key) : _box.put(key, value);