SiteTranscodeSetting.fromJson constructor

SiteTranscodeSetting.fromJson(
  1. Map json_
)

Implementation

SiteTranscodeSetting.fromJson(core.Map json_)
    : this(
        enabledVideoFormats: json_.containsKey('enabledVideoFormats')
            ? (json_['enabledVideoFormats'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );