ResourcePolicyWeeklyCycle.fromJson constructor

ResourcePolicyWeeklyCycle.fromJson(
  1. Map json_
)

Implementation

ResourcePolicyWeeklyCycle.fromJson(core.Map json_)
    : this(
        dayOfWeeks: json_.containsKey('dayOfWeeks')
            ? (json_['dayOfWeeks'] as core.List)
                .map((value) => ResourcePolicyWeeklyCycleDayOfWeek.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );