DayPartTargeting.fromJson constructor

DayPartTargeting.fromJson(
  1. Map json_
)

Implementation

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