toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final ancillarySourceSettings = this.ancillarySourceSettings;
  final aribSourceSettings = this.aribSourceSettings;
  final dvbSubSourceSettings = this.dvbSubSourceSettings;
  final embeddedSourceSettings = this.embeddedSourceSettings;
  final scte20SourceSettings = this.scte20SourceSettings;
  final scte27SourceSettings = this.scte27SourceSettings;
  final teletextSourceSettings = this.teletextSourceSettings;
  return {
    if (ancillarySourceSettings != null)
      'ancillarySourceSettings': ancillarySourceSettings,
    if (aribSourceSettings != null) 'aribSourceSettings': aribSourceSettings,
    if (dvbSubSourceSettings != null)
      'dvbSubSourceSettings': dvbSubSourceSettings,
    if (embeddedSourceSettings != null)
      'embeddedSourceSettings': embeddedSourceSettings,
    if (scte20SourceSettings != null)
      'scte20SourceSettings': scte20SourceSettings,
    if (scte27SourceSettings != null)
      'scte27SourceSettings': scte27SourceSettings,
    if (teletextSourceSettings != null)
      'teletextSourceSettings': teletextSourceSettings,
  };
}