updateAll method

void updateAll(
  1. V update(
    1. K key,
    2. V value
    )
)

Update all values (convenience method)

Implementation

void updateAll(V Function(K key, V value) update) {
  final result = tryUpdateAll(update);
  if (result.isFailure) {
    RxLogger.logError(result.errorOrNull!, context: 'Map');
  }
}