lastKeyBefore method

  1. @override
K lastKeyBefore(
  1. K key, {
  2. K orElse()?,
})
override

Get the last key in the map for which the key/value pair is strictly smaller than that of key.

Implementation

@override
K lastKeyBefore(K key, {K Function()? orElse}) =>
    _pairForKey(_baseMap.lastKeyBefore(key, orElse: orElse))!.key as K;