LogicalKeySet constructor

LogicalKeySet(
  1. LogicalKeyboardKey key1,
  2. [LogicalKeyboardKey? key2,
  3. LogicalKeyboardKey? key3,
  4. LogicalKeyboardKey? key4]
)

A constructor for making a LogicalKeySet of up to four keys.

If you need a set of more than four keys, use LogicalKeySet.fromSet.

The same LogicalKeyboardKey may not be appear more than once in the set.

Implementation

LogicalKeySet(
  super.key1, [
  super.key2,
  super.key3,
  super.key4,
]);