ResultSet.fromJson constructor
ResultSet.fromJson(
- Map json_
Implementation
ResultSet.fromJson(core.Map json_)
: this(
metadata: json_.containsKey('metadata')
? ResultSetMetadata.fromJson(
json_['metadata'] as core.Map<core.String, core.dynamic>)
: null,
rows: json_.containsKey('rows')
? (json_['rows'] as core.List)
.map((value) => value as core.List)
.toList()
: null,
stats: json_.containsKey('stats')
? ResultSetStats.fromJson(
json_['stats'] as core.Map<core.String, core.dynamic>)
: null,
);