toJson method

Map<String, dynamic> toJson()

Implementation

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