ReportCriteria.fromJson constructor
ReportCriteria.fromJson(
- Map json_
Implementation
ReportCriteria.fromJson(core.Map json_)
: this(
activities: json_.containsKey('activities')
? Activities.fromJson(
json_['activities'] as core.Map<core.String, core.dynamic>)
: null,
customRichMediaEvents: json_.containsKey('customRichMediaEvents')
? CustomRichMediaEvents.fromJson(json_['customRichMediaEvents']
as core.Map<core.String, core.dynamic>)
: null,
dateRange: json_.containsKey('dateRange')
? DateRange.fromJson(
json_['dateRange'] as core.Map<core.String, core.dynamic>)
: null,
dimensionFilters: json_.containsKey('dimensionFilters')
? (json_['dimensionFilters'] as core.List)
.map((value) => DimensionValue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) => SortedDimension.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
metricNames: json_.containsKey('metricNames')
? (json_['metricNames'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);