firstKeyAfter method Null safety

K firstKeyAfter(
  1. K key,
  2. {K orElse(
      )?}
    )

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

    Implementation

    K firstKeyAfter(K key, {K Function()? orElse});