ListCommentsResponse.fromJson constructor
ListCommentsResponse.fromJson(
- Map json_
Implementation
ListCommentsResponse.fromJson(core.Map json_)
: this(
comments: json_.containsKey('comments')
? (json_['comments'] as core.List)
.map((value) => Comment.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
);