KeyMessage constructor

  1. @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(
  1. List<KeyEvent> events,
  2. 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);