delete method Null safety

Future<void> delete()

Deletes this object from the box it is stored in.

Implementation

Future<void> delete() {
  _requireInitialized();
  return _box!.delete(_key);
}