KeyEvent constructor
const
KeyEvent({})
Implementation
const KeyEvent({
this.key,
this.char,
this.ctrl = false,
this.alt = false,
this.shift = false,
this.raw = const [],
}) : assert(key != null || char != null,
'KeyEvent must have either key or char set');