toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audioDescriptions = this.audioDescriptions;
  final captionDescriptions = this.captionDescriptions;
  final containerSettings = this.containerSettings;
  final videoDescription = this.videoDescription;
  return {
    if (audioDescriptions != null) 'audioDescriptions': audioDescriptions,
    if (captionDescriptions != null)
      'captionDescriptions': captionDescriptions,
    if (containerSettings != null) 'containerSettings': containerSettings,
    if (videoDescription != null) 'videoDescription': videoDescription,
  };
}