toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final captionFormats = this.captionFormats;
  final captionSources = this.captionSources;
  final mergePolicy = this.mergePolicy;
  return {
    if (captionFormats != null) 'CaptionFormats': captionFormats,
    if (captionSources != null) 'CaptionSources': captionSources,
    if (mergePolicy != null) 'MergePolicy': mergePolicy,
  };
}