toJson method
Implementation
Map<String, dynamic> toJson() {
final adMarkers = this.adMarkers;
final includeIframeOnlyStream = this.includeIframeOnlyStream;
final manifestName = this.manifestName;
final programDateTimeIntervalSeconds = this.programDateTimeIntervalSeconds;
final repeatExtXKey = this.repeatExtXKey;
final streamSelection = this.streamSelection;
return {
if (adMarkers != null) 'adMarkers': adMarkers.toValue(),
if (includeIframeOnlyStream != null)
'includeIframeOnlyStream': includeIframeOnlyStream,
if (manifestName != null) 'manifestName': manifestName,
if (programDateTimeIntervalSeconds != null)
'programDateTimeIntervalSeconds': programDateTimeIntervalSeconds,
if (repeatExtXKey != null) 'repeatExtXKey': repeatExtXKey,
if (streamSelection != null) 'streamSelection': streamSelection,
};
}