tryUpdateAll method
Update all values with error handling
Implementation
RxResult<void> tryUpdateAll(V Function(K key, V value) update) {
return RxResult.tryExecute(() {
final newMap = Map<K, V>.from(value);
newMap.updateAll(update);
value = newMap;
}, 'update all map values');
}