IngestionInfo.fromJson constructor

IngestionInfo.fromJson(
  1. Map json_
)

Implementation

IngestionInfo.fromJson(core.Map json_)
    : this(
        backupIngestionAddress: json_.containsKey('backupIngestionAddress')
            ? json_['backupIngestionAddress'] as core.String
            : null,
        ingestionAddress: json_.containsKey('ingestionAddress')
            ? json_['ingestionAddress'] as core.String
            : null,
        rtmpsBackupIngestionAddress:
            json_.containsKey('rtmpsBackupIngestionAddress')
                ? json_['rtmpsBackupIngestionAddress'] as core.String
                : null,
        rtmpsIngestionAddress: json_.containsKey('rtmpsIngestionAddress')
            ? json_['rtmpsIngestionAddress'] as core.String
            : null,
        streamName: json_.containsKey('streamName')
            ? json_['streamName'] as core.String
            : null,
      );