$findKeyByCode static method

$Value? $findKeyByCode(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Implementation

static $Value? $findKeyByCode(
    Runtime runtime, $Value? target, List<$Value?> args) {
  final result = PhysicalKeyboardKey.findKeyByCode(
    args[0]?.$value,
  );
  return result == null ? const $null() : $PhysicalKeyboardKey.wrap(result);
}