ListThreadsResponse.fromJson constructor
ListThreadsResponse.fromJson(
- Map json_
Implementation
ListThreadsResponse.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
resultSizeEstimate: json_.containsKey('resultSizeEstimate')
? json_['resultSizeEstimate'] as core.int
: null,
threads: json_.containsKey('threads')
? (json_['threads'] as core.List)
.map((value) => Thread.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);