delete method

void delete(
  1. Type type
)

Deletes a value from the box based on type.

Implementation

void delete(Type type) {
  final deletedValue = _mocksMap.remove(type);
  debugPrintSynchronously(
      '${IntegrationLog.tag} 📦 Deleted \'$type\' deletedValue: $deletedValue from the box!');
}