toJson method
Implementation
Map<String, dynamic> toJson() {
final accessibilityCaptionHints = this.accessibilityCaptionHints;
final audioDuration = this.audioDuration;
final captionContainerType = this.captionContainerType;
final scte35Esam = this.scte35Esam;
final scte35Source = this.scte35Source;
return {
if (accessibilityCaptionHints != null)
'accessibilityCaptionHints': accessibilityCaptionHints.toValue(),
if (audioDuration != null) 'audioDuration': audioDuration.toValue(),
if (captionContainerType != null)
'captionContainerType': captionContainerType.toValue(),
if (scte35Esam != null) 'scte35Esam': scte35Esam.toValue(),
if (scte35Source != null) 'scte35Source': scte35Source.toValue(),
};
}