$findKeyByKeyId static method

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

Implementation

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