SubscriptionSubscriberSnippet.fromJson constructor

SubscriptionSubscriberSnippet.fromJson(
  1. Map json_
)

Implementation

SubscriptionSubscriberSnippet.fromJson(core.Map json_)
    : this(
        channelId: json_.containsKey('channelId')
            ? json_['channelId'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        thumbnails: json_.containsKey('thumbnails')
            ? ThumbnailDetails.fromJson(
                json_['thumbnails'] as core.Map<core.String, core.dynamic>)
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );