$collapseSynonyms static method

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

Wrapper for the LogicalKeyboardKey.collapseSynonyms method

Implementation

static $Value? $collapseSynonyms(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = LogicalKeyboardKey.collapseSynonyms(
    (args[0]!.$reified as Set).cast(),
  );
  return $Set.wrap(value);
}