RawKeyEvent constructor

const RawKeyEvent({@required RawKeyEventData data, String character })

Initializes fields for subclasses, and provides a const constructor for const subclasses.

Implementation

const RawKeyEvent({
  @required this.data,
  this.character,
});