getKeyWithValue method

K? getKeyWithValue(
  1. V value
)

Return any key entry where the value exists in its set. If it doesn't find the value, return null.

Implementation

K? getKeyWithValue(V value) => getEntryWithValue(value)?.key;