SensorReadingQuaternion.fromJson constructor

SensorReadingQuaternion.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SensorReadingQuaternion.fromJson(Map<String, dynamic> json) {
  return SensorReadingQuaternion(
    x: json['x'] as num,
    y: json['y'] as num,
    z: json['z'] as num,
    w: json['w'] as num,
  );
}