AndroidKeyEvent constructor Null safety

AndroidKeyEvent(
  1. {required int deviceId,
  2. required int source,
  3. required int displayId,
  4. required int metaState,
  5. required int action,
  6. required int keyCode,
  7. required int scanCode,
  8. required int repeatCount,
  9. required int flags,
  10. required int downTime,
  11. required int eventTime}
)

Implementation

AndroidKeyEvent({
  required this.deviceId,
  required this.source,
  required this.displayId,
  required this.metaState,
  required this.action,
  required this.keyCode,
  required this.scanCode,
  required this.repeatCount,
  required this.flags,
  required this.downTime,
  required this.eventTime,
});