QueryResult.fromJson constructor
QueryResult.fromJson(
- Map json_
Implementation
QueryResult.fromJson(core.Map json_)
: this(
nextPageToken: json_.containsKey('nextPageToken')
? json_['nextPageToken'] as core.String
: null,
rows: json_.containsKey('rows')
? (json_['rows'] as core.List)
.map((value) => value as core.Map<core.String, core.dynamic>)
.toList()
: null,
schema: json_.containsKey('schema')
? TableSchema.fromJson(
json_['schema'] as core.Map<core.String, core.dynamic>)
: null,
totalRows: json_.containsKey('totalRows')
? json_['totalRows'] as core.String
: null,
);