VideoFormatsListResponse.fromJson constructor

VideoFormatsListResponse.fromJson(
  1. Map json_
)

Implementation

VideoFormatsListResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        videoFormats: json_.containsKey('videoFormats')
            ? (json_['videoFormats'] as core.List)
                .map((value) => VideoFormat.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );