findLockByLogicalKey method Null safety
- LogicalKeyboardKey logicalKey
Returns the KeyboardLockMode constant from the logical key, or null, if not found.
Implementation
static KeyboardLockMode? findLockByLogicalKey(LogicalKeyboardKey logicalKey) => _knownLockModes[logicalKey.keyId];