toJson method
Implementation
Map<String, dynamic> toJson() {
final activeWatermarkProcess = this.activeWatermarkProcess;
final adiFilename = this.adiFilename;
final assetId = this.assetId;
final assetName = this.assetName;
final cbetSourceId = this.cbetSourceId;
final episodeId = this.episodeId;
final metadataDestination = this.metadataDestination;
final sourceId = this.sourceId;
final sourceWatermarkStatus = this.sourceWatermarkStatus;
final ticServerUrl = this.ticServerUrl;
final uniqueTicPerAudioTrack = this.uniqueTicPerAudioTrack;
return {
if (activeWatermarkProcess != null)
'activeWatermarkProcess': activeWatermarkProcess.toValue(),
if (adiFilename != null) 'adiFilename': adiFilename,
if (assetId != null) 'assetId': assetId,
if (assetName != null) 'assetName': assetName,
if (cbetSourceId != null) 'cbetSourceId': cbetSourceId,
if (episodeId != null) 'episodeId': episodeId,
if (metadataDestination != null)
'metadataDestination': metadataDestination,
if (sourceId != null) 'sourceId': sourceId,
if (sourceWatermarkStatus != null)
'sourceWatermarkStatus': sourceWatermarkStatus.toValue(),
if (ticServerUrl != null) 'ticServerUrl': ticServerUrl,
if (uniqueTicPerAudioTrack != null)
'uniqueTicPerAudioTrack': uniqueTicPerAudioTrack.toValue(),
};
}