RawKeyEventDataFuchsia constructor

const RawKeyEventDataFuchsia({int hidUsage: 0, int codePoint: 0, int modifiers: 0 })

Creates a key event data structure specific for Fuchsia.

The hidUsage, codePoint, and modifiers arguments must not be null.

Implementation

const RawKeyEventDataFuchsia({
  this.hidUsage = 0,
  this.codePoint = 0,
  this.modifiers = 0,
}) : assert(hidUsage != null),
     assert(codePoint != null),
     assert(modifiers != null);