@override Future<void> set(String key, T value) async { assert(value != null); final box = await _box.future; return box.put(key, value); }