Map<String, dynamic> toJson() => removeNulls({ 'max_pitch': maxPitch, 'max_yaw': maxYaw, 'max_roll': maxRoll, });