TranscodeSetting.fromJson constructor

TranscodeSetting.fromJson(
  1. Map json_
)

Implementation

TranscodeSetting.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,
      );