CommentThreadSnippet.fromJson constructor
CommentThreadSnippet.fromJson(
- Map json_
Implementation
CommentThreadSnippet.fromJson(core.Map json_)
: this(
canReply: json_['canReply'] as core.bool?,
channelId: json_['channelId'] as core.String?,
isPublic: json_['isPublic'] as core.bool?,
topLevelComment: json_.containsKey('topLevelComment')
? Comment.fromJson(json_['topLevelComment']
as core.Map<core.String, core.dynamic>)
: null,
totalReplyCount: json_['totalReplyCount'] as core.int?,
videoId: json_['videoId'] as core.String?,
);