Row.fromJson constructor
Row.fromJson(
- Map _json
Implementation
Row.fromJson(core.Map _json)
: this(
dimensionValues: _json.containsKey('dimensionValues')
? (_json['dimensionValues'] as core.List)
.map((value) => DimensionValue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
metricValues: _json.containsKey('metricValues')
? (_json['metricValues'] as core.List)
.map((value) => MetricValue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);