$new static method
Wrapper for the KeyRepeatEvent.new constructor
Implementation
static $Value? $new(Runtime runtime, $Value? thisValue, List<$Value?> args) {
return $KeyRepeatEvent.wrap(
KeyRepeatEvent(
physicalKey: args[0]!.$value,
logicalKey: args[1]!.$value,
character: args[2]?.$value,
timeStamp: args[3]!.$value,
deviceType: args[4]?.$value ?? KeyEventDeviceType.keyboard,
),
);
}