DayPartTargeting.fromJson constructor
DayPartTargeting.fromJson(
- Map _json
Implementation
DayPartTargeting.fromJson(core.Map _json)
: this(
dayParts: _json.containsKey('dayParts')
? (_json['dayParts'] as core.List)
.map<DayPart>((value) => DayPart.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
timeZoneType: _json.containsKey('timeZoneType')
? _json['timeZoneType'] as core.String
: null,
);