delete method

void delete(
  1. Object key
)

Deletes a value from the box based on key.

Implementation

void delete(Object key) {
  final deletedValue = _mapBox.remove(key);
  debugPrintSynchronously(
      '${IntegrationLog.tag} 📦 Deleted \'$key\' deletedValue: $deletedValue as ${deletedValue.runtimeType} from the box!');
}