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