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