setKeyAndValue method
Sets (or replaces) the key and value.
Implementation
@override
void setKeyAndValue(K key, V value) {
_key = key;
_value = value;
hasKeyAndValue = true;
}
Sets (or replaces) the key and value.
@override
void setKeyAndValue(K key, V value) {
_key = key;
_value = value;
hasKeyAndValue = true;
}