toJson method
Implementation
Map<String, dynamic> toJson() => {
'location': location?.toJson(),
'vector': vector?.toJson(),
'heading': heading,
'cornerRadiusInMeters': cornerRadiusInMeters,
'turnMode': EnumConvertion.convertToString(turnMode),
'gimbalPitch': gimbalPitch,
};