set static method

Future<void> set(
  1. String key,
  2. dynamic value
)

Implementation

static Future<void> set(String key, dynamic value) {
  assert(_box != null, 'call "prelude" first');
  return _box!.put(key, value);
}