shift<K, V> method
Shift the first entry from the map.
Implementation
MapEntry<K, V> shift<K, V>() {
final key = keys.first;
final value = this[key];
removeExact(key: key, value: value);
return MapEntry(key, value);
}
Shift the first entry from the map.
MapEntry<K, V> shift<K, V>() {
final key = keys.first;
final value = this[key];
removeExact(key: key, value: value);
return MapEntry(key, value);
}