RawKeyEventDataMacOs constructor Null safety
Creates a key event data structure specific for macOS.
The characters, charactersIgnoringModifiers, and modifiers, arguments must not be null.
Implementation
const RawKeyEventDataMacOs({
this.characters = '',
this.charactersIgnoringModifiers = '',
this.keyCode = 0,
this.modifiers = 0,
this.specifiedLogicalKey,
}) : assert(characters != null),
assert(charactersIgnoringModifiers != null),
assert(keyCode != null),
assert(modifiers != null);