CdnSettings.fromJson constructor

CdnSettings.fromJson(
  1. Map json_
)

Implementation

CdnSettings.fromJson(core.Map json_)
    : this(
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        frameRate: json_.containsKey('frameRate')
            ? json_['frameRate'] as core.String
            : null,
        ingestionInfo: json_.containsKey('ingestionInfo')
            ? IngestionInfo.fromJson(
                json_['ingestionInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        ingestionType: json_.containsKey('ingestionType')
            ? json_['ingestionType'] as core.String
            : null,
        resolution: json_.containsKey('resolution')
            ? json_['resolution'] as core.String
            : null,
      );