KeyMessage constructor Null safety

const KeyMessage(
  1. List<KeyEvent> events,
  2. RawKeyEvent? rawEvent
)

Create a KeyMessage by providing all information.

The events might be empty.

Implementation

const KeyMessage(this.events, this.rawEvent);