FilterSet.fromJson constructor
FilterSet.fromJson(
- Map json_
Implementation
FilterSet.fromJson(core.Map json_)
: this(
absoluteDateRange: json_.containsKey('absoluteDateRange')
? AbsoluteDateRange.fromJson(json_['absoluteDateRange']
as core.Map<core.String, core.dynamic>)
: null,
breakdownDimensions: json_.containsKey('breakdownDimensions')
? (json_['breakdownDimensions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
creativeId: json_.containsKey('creativeId')
? json_['creativeId'] as core.String
: null,
dealId: json_.containsKey('dealId')
? json_['dealId'] as core.String
: null,
environment: json_.containsKey('environment')
? json_['environment'] as core.String
: null,
format: json_.containsKey('format')
? json_['format'] as core.String
: null,
formats: json_.containsKey('formats')
? (json_['formats'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
platforms: json_.containsKey('platforms')
? (json_['platforms'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
publisherIdentifiers: json_.containsKey('publisherIdentifiers')
? (json_['publisherIdentifiers'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
realtimeTimeRange: json_.containsKey('realtimeTimeRange')
? RealtimeTimeRange.fromJson(json_['realtimeTimeRange']
as core.Map<core.String, core.dynamic>)
: null,
relativeDateRange: json_.containsKey('relativeDateRange')
? RelativeDateRange.fromJson(json_['relativeDateRange']
as core.Map<core.String, core.dynamic>)
: null,
sellerNetworkIds: json_.containsKey('sellerNetworkIds')
? (json_['sellerNetworkIds'] as core.List)
.map((value) => value as core.int)
.toList()
: null,
timeSeriesGranularity: json_.containsKey('timeSeriesGranularity')
? json_['timeSeriesGranularity'] as core.String
: null,
);