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