firstKey method Null safety
Get the first key in the map. Returns null
if the map is empty.
Implementation
K? firstKey() {
if (_root == null) return null;
return _first!.key;
}
Get the first key in the map. Returns null
if the map is empty.
K? firstKey() {
if (_root == null) return null;
return _first!.key;
}