updateT method
update map 并返回 新map
Implementation
Map<K, V> updateT(K key, V Function(V value) update,
{V Function()? ifAbsent, bool isUpdate = true}) {
if (isUpdate) this.update(key, update, ifAbsent: ifAbsent);
return this;
}
update map 并返回 新map
Map<K, V> updateT(K key, V Function(V value) update,
{V Function()? ifAbsent, bool isUpdate = true}) {
if (isUpdate) this.update(key, update, ifAbsent: ifAbsent);
return this;
}