KeyMessage constructor
- @Deprecated('No longer supported. Once RawKeyEvent is removed, will no longer be needed. ' 'This feature was deprecated after v3.18.0-2.0.pre.')
- List<
KeyEvent> events, - RawKeyEvent? rawEvent
Create a KeyMessage by providing all information.
The events
might be empty.
Implementation
@Deprecated(
'No longer supported. Once RawKeyEvent is removed, will no longer be needed. '
'This feature was deprecated after v3.18.0-2.0.pre.',
)
const KeyMessage(this.events, this.rawEvent);