FloodlightReportCompatibleFields.fromJson constructor
FloodlightReportCompatibleFields.fromJson(
- Map json_
Implementation
FloodlightReportCompatibleFields.fromJson(core.Map json_)
: this(
dimensionFilters: json_.containsKey('dimensionFilters')
? (json_['dimensionFilters'] as core.List)
.map((value) => Dimension.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,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => Metric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);