$findKeyByKeyId static method

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

Wrapper for the LogicalKeyboardKey.findKeyByKeyId method

Implementation

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