RawKeyEventDataWindows constructor Null safety
Creates a key event data structure specific for Windows.
The keyCode, scanCode, characterCodePoint, and modifiers, arguments must not be null.
Implementation
const RawKeyEventDataWindows({
this.keyCode = 0,
this.scanCode = 0,
this.characterCodePoint = 0,
this.modifiers = 0,
}) : assert(keyCode != null),
assert(scanCode != null),
assert(characterCodePoint != null),
assert(modifiers != null);