toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'gyroX': gyroX,
    'gyroY': gyroY,
    'gyroZ': gyroZ,
    'accelX': accelX,
    'accelY': accelY,
    'accelZ': accelZ,
  };
}