SdlxSensorEvent constructor

SdlxSensorEvent({
  1. int type = 0,
  2. int reserved = 0,
  3. int timestamp = 0,
  4. int which = 0,
  5. List<double>? datas,
  6. int sensorTimestamp = 0,
})

Implementation

SdlxSensorEvent({
  super.type = 0,
  super.reserved = 0,
  super.timestamp = 0,
  this.which = 0,
  List<double>? datas,
  this.sensorTimestamp = 0,
}) {
  this.datas = datas ?? [];
}