toJson method

Map<String, dynamic> toJson()

Implementation

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