toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backupIngestionAddress != null)
        'backupIngestionAddress': backupIngestionAddress!,
      if (ingestionAddress != null) 'ingestionAddress': ingestionAddress!,
      if (rtmpsBackupIngestionAddress != null)
        'rtmpsBackupIngestionAddress': rtmpsBackupIngestionAddress!,
      if (rtmpsIngestionAddress != null)
        'rtmpsIngestionAddress': rtmpsIngestionAddress!,
      if (streamName != null) 'streamName': streamName!,
    };