CommentThread.fromJson constructor
CommentThread.fromJson(
- Map json_
Implementation
CommentThread.fromJson(core.Map json_)
: this(
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
replies: json_.containsKey('replies')
? CommentThreadReplies.fromJson(
json_['replies'] as core.Map<core.String, core.dynamic>)
: null,
snippet: json_.containsKey('snippet')
? CommentThreadSnippet.fromJson(
json_['snippet'] as core.Map<core.String, core.dynamic>)
: null,
);