KeyData constructor Null safety

const KeyData(
  1. {required Duration timeStamp,
  2. required KeyEventType type,
  3. required int physical,
  4. required int logical,
  5. required String? character,
  6. required bool synthesized}
)

Creates an object that represents a key event.

Implementation

const KeyData({
  required this.timeStamp,
  required this.type,
  required this.physical,
  required this.logical,
  required this.character,
  required this.synthesized,
});