updateAllT method

Map<K, V> updateAllT(
  1. V update(
    1. K key,
    2. V value
    ), {
  2. bool isUpdate = true,
})

update map and return new map

Implementation

Map<K, V> updateAllT(V Function(K key, V value) update,
    {bool isUpdate = true}) {
  if (isUpdate) {
    updateAll(update);
  }
  return this;
}