put method
void
put(
- K key,
- V value
Inserts or updates a key-value pair in the reactive map.
Example:
settings.put('theme', 'dark');
Implementation
void put(K key, V value) {
this.value = {...this.value, key: value};
}