Map<String, Object?> toMap() => <String, Object?>{"yaw": yaw, "pitch": pitch, "distance": distance, "target": target.toList(), "fov": fov};