YouTubeVideo.fromJson constructor

YouTubeVideo.fromJson(
  1. Map json_
)

Implementation

YouTubeVideo.fromJson(core.Map json_)
    : this(
        alternateLink: json_.containsKey('alternateLink')
            ? json_['alternateLink'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        thumbnailUrl: json_.containsKey('thumbnailUrl')
            ? json_['thumbnailUrl'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );