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