put static method

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

Implementation

static Future<void> put(String key, dynamic value) async {
  if (_box == null) openBox();
  await _box?.put(key, value);
}