Pivot.fromJson constructor
Pivot.fromJson(
- Map json_
Implementation
Pivot.fromJson(core.Map json_)
: this(
dimensionFilterClauses: json_.containsKey('dimensionFilterClauses')
? (json_['dimensionFilterClauses'] as core.List)
.map((value) => DimensionFilterClause.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) => Dimension.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
maxGroupCount: json_.containsKey('maxGroupCount')
? json_['maxGroupCount'] as core.int
: null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => Metric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
startGroup: json_.containsKey('startGroup')
? json_['startGroup'] as core.int
: null,
);