toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final hlsId3SegmentTaggingSettings = this.hlsId3SegmentTaggingSettings;
  final hlsTimedMetadataSettings = this.hlsTimedMetadataSettings;
  final inputPrepareSettings = this.inputPrepareSettings;
  final inputSwitchSettings = this.inputSwitchSettings;
  final pauseStateSettings = this.pauseStateSettings;
  final scte35ReturnToNetworkSettings = this.scte35ReturnToNetworkSettings;
  final scte35SpliceInsertSettings = this.scte35SpliceInsertSettings;
  final scte35TimeSignalSettings = this.scte35TimeSignalSettings;
  final staticImageActivateSettings = this.staticImageActivateSettings;
  final staticImageDeactivateSettings = this.staticImageDeactivateSettings;
  return {
    if (hlsId3SegmentTaggingSettings != null)
      'hlsId3SegmentTaggingSettings': hlsId3SegmentTaggingSettings,
    if (hlsTimedMetadataSettings != null)
      'hlsTimedMetadataSettings': hlsTimedMetadataSettings,
    if (inputPrepareSettings != null)
      'inputPrepareSettings': inputPrepareSettings,
    if (inputSwitchSettings != null)
      'inputSwitchSettings': inputSwitchSettings,
    if (pauseStateSettings != null) 'pauseStateSettings': pauseStateSettings,
    if (scte35ReturnToNetworkSettings != null)
      'scte35ReturnToNetworkSettings': scte35ReturnToNetworkSettings,
    if (scte35SpliceInsertSettings != null)
      'scte35SpliceInsertSettings': scte35SpliceInsertSettings,
    if (scte35TimeSignalSettings != null)
      'scte35TimeSignalSettings': scte35TimeSignalSettings,
    if (staticImageActivateSettings != null)
      'staticImageActivateSettings': staticImageActivateSettings,
    if (staticImageDeactivateSettings != null)
      'staticImageDeactivateSettings': staticImageDeactivateSettings,
  };
}