SensorEvent constructor

SensorEvent({
  1. required DateTime timestamp,
  2. required int packetIndex,
  3. List<int>? accel,
  4. List<int>? gyro,
})

Implementation

SensorEvent({
  required this.timestamp,
  required this.packetIndex,
  this.accel,
  this.gyro,
});