QueryResultBatch.fromJson constructor
QueryResultBatch.fromJson(
- Map json_
Implementation
QueryResultBatch.fromJson(core.Map json_)
: this(
endCursor: json_.containsKey('endCursor')
? json_['endCursor'] as core.String
: null,
entityResultType: json_.containsKey('entityResultType')
? json_['entityResultType'] as core.String
: null,
entityResults: json_.containsKey('entityResults')
? (json_['entityResults'] as core.List)
.map((value) => EntityResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
moreResults: json_.containsKey('moreResults')
? json_['moreResults'] as core.String
: null,
readTime: json_.containsKey('readTime')
? json_['readTime'] as core.String
: null,
skippedCursor: json_.containsKey('skippedCursor')
? json_['skippedCursor'] as core.String
: null,
skippedResults: json_.containsKey('skippedResults')
? json_['skippedResults'] as core.int
: null,
snapshotVersion: json_.containsKey('snapshotVersion')
? json_['snapshotVersion'] as core.String
: null,
);