DayPartTargeting.fromJson constructor

DayPartTargeting.fromJson(
  1. Map json_
)

Implementation

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