add method
void
add({
- required K key,
- required V value,
Implementation
void add({required K key, required V value}) {
if (_allowedInExpando(key)) {
_expando[key!] = value;
} else {
_map[key] = value;
}
if (!contains(key)) {
_keys.add(key);
}
}