put method

void put(
  1. K key,
  2. V value
)

Implementation

void put(K key, V value) {
  throwIfDisposed('put');
  MinixErrorHandler.safeExecute(() {
    this.value = {...this.value, key: value};
  }, context: 'MapObservable.put');
}