removeWhere method

void removeWhere(
  1. bool predicate(
    1. K key,
    2. V value
    )
)

Remove where (convenience method)

Implementation

void removeWhere(bool Function(K key, V value) predicate) {
  final result = tryRemoveWhere(predicate);
  if (result.isFailure) {
    RxLogger.logError(result.errorOrNull!, context: 'Map');
  }
}