ChannelContentDetailsRelatedPlaylists.fromJson constructor

ChannelContentDetailsRelatedPlaylists.fromJson(
  1. Map json_
)

Implementation

ChannelContentDetailsRelatedPlaylists.fromJson(core.Map json_)
    : this(
        favorites: json_.containsKey('favorites')
            ? json_['favorites'] as core.String
            : null,
        likes:
            json_.containsKey('likes') ? json_['likes'] as core.String : null,
        uploads: json_.containsKey('uploads')
            ? json_['uploads'] as core.String
            : null,
        watchHistory: json_.containsKey('watchHistory')
            ? json_['watchHistory'] as core.String
            : null,
        watchLater: json_.containsKey('watchLater')
            ? json_['watchLater'] as core.String
            : null,
      );