toJson method
Implementation
Map<String, dynamic> toJson() {
final audioBufferModel = this.audioBufferModel;
final audioDuration = this.audioDuration;
final audioFramesPerPes = this.audioFramesPerPes;
final audioPids = this.audioPids;
final bitrate = this.bitrate;
final bufferModel = this.bufferModel;
final dvbNitSettings = this.dvbNitSettings;
final dvbSdtSettings = this.dvbSdtSettings;
final dvbSubPids = this.dvbSubPids;
final dvbTdtSettings = this.dvbTdtSettings;
final dvbTeletextPid = this.dvbTeletextPid;
final ebpAudioInterval = this.ebpAudioInterval;
final ebpPlacement = this.ebpPlacement;
final esRateInPes = this.esRateInPes;
final forceTsVideoEbpOrder = this.forceTsVideoEbpOrder;
final fragmentTime = this.fragmentTime;
final maxPcrInterval = this.maxPcrInterval;
final minEbpInterval = this.minEbpInterval;
final nielsenId3 = this.nielsenId3;
final nullPacketBitrate = this.nullPacketBitrate;
final patInterval = this.patInterval;
final pcrControl = this.pcrControl;
final pcrPid = this.pcrPid;
final pmtInterval = this.pmtInterval;
final pmtPid = this.pmtPid;
final privateMetadataPid = this.privateMetadataPid;
final programNumber = this.programNumber;
final rateMode = this.rateMode;
final scte35Esam = this.scte35Esam;
final scte35Pid = this.scte35Pid;
final scte35Source = this.scte35Source;
final segmentationMarkers = this.segmentationMarkers;
final segmentationStyle = this.segmentationStyle;
final segmentationTime = this.segmentationTime;
final timedMetadataPid = this.timedMetadataPid;
final transportStreamId = this.transportStreamId;
final videoPid = this.videoPid;
return {
if (audioBufferModel != null)
'audioBufferModel': audioBufferModel.toValue(),
if (audioDuration != null) 'audioDuration': audioDuration.toValue(),
if (audioFramesPerPes != null) 'audioFramesPerPes': audioFramesPerPes,
if (audioPids != null) 'audioPids': audioPids,
if (bitrate != null) 'bitrate': bitrate,
if (bufferModel != null) 'bufferModel': bufferModel.toValue(),
if (dvbNitSettings != null) 'dvbNitSettings': dvbNitSettings,
if (dvbSdtSettings != null) 'dvbSdtSettings': dvbSdtSettings,
if (dvbSubPids != null) 'dvbSubPids': dvbSubPids,
if (dvbTdtSettings != null) 'dvbTdtSettings': dvbTdtSettings,
if (dvbTeletextPid != null) 'dvbTeletextPid': dvbTeletextPid,
if (ebpAudioInterval != null)
'ebpAudioInterval': ebpAudioInterval.toValue(),
if (ebpPlacement != null) 'ebpPlacement': ebpPlacement.toValue(),
if (esRateInPes != null) 'esRateInPes': esRateInPes.toValue(),
if (forceTsVideoEbpOrder != null)
'forceTsVideoEbpOrder': forceTsVideoEbpOrder.toValue(),
if (fragmentTime != null) 'fragmentTime': fragmentTime,
if (maxPcrInterval != null) 'maxPcrInterval': maxPcrInterval,
if (minEbpInterval != null) 'minEbpInterval': minEbpInterval,
if (nielsenId3 != null) 'nielsenId3': nielsenId3.toValue(),
if (nullPacketBitrate != null) 'nullPacketBitrate': nullPacketBitrate,
if (patInterval != null) 'patInterval': patInterval,
if (pcrControl != null) 'pcrControl': pcrControl.toValue(),
if (pcrPid != null) 'pcrPid': pcrPid,
if (pmtInterval != null) 'pmtInterval': pmtInterval,
if (pmtPid != null) 'pmtPid': pmtPid,
if (privateMetadataPid != null) 'privateMetadataPid': privateMetadataPid,
if (programNumber != null) 'programNumber': programNumber,
if (rateMode != null) 'rateMode': rateMode.toValue(),
if (scte35Esam != null) 'scte35Esam': scte35Esam,
if (scte35Pid != null) 'scte35Pid': scte35Pid,
if (scte35Source != null) 'scte35Source': scte35Source.toValue(),
if (segmentationMarkers != null)
'segmentationMarkers': segmentationMarkers.toValue(),
if (segmentationStyle != null)
'segmentationStyle': segmentationStyle.toValue(),
if (segmentationTime != null) 'segmentationTime': segmentationTime,
if (timedMetadataPid != null) 'timedMetadataPid': timedMetadataPid,
if (transportStreamId != null) 'transportStreamId': transportStreamId,
if (videoPid != null) 'videoPid': videoPid,
};
}