DayPartTargeting.fromJson constructor
DayPartTargeting.fromJson(
- Map json_
Implementation
DayPartTargeting.fromJson(core.Map json_)
: this(
daysOfWeek: (json_['daysOfWeek'] as core.List?)
?.map((value) => value as core.String)
.toList(),
hoursOfDay: (json_['hoursOfDay'] as core.List?)
?.map((value) => value as core.int)
.toList(),
userLocalTime: json_['userLocalTime'] as core.bool?,
);