remove method

void remove(
  1. K key
)

Removes a key from the reactive map.

Example:

settings.remove('theme');

Implementation

void remove(K key) {
  final map = Map<K, V>.from(value);
  map.remove(key);
  value = map;
}