ResourcePolicySnapshotSchedulePolicySchedule.fromJson constructor

ResourcePolicySnapshotSchedulePolicySchedule.fromJson(
  1. Map json_
)

Implementation

ResourcePolicySnapshotSchedulePolicySchedule.fromJson(core.Map json_)
    : this(
        dailySchedule: json_.containsKey('dailySchedule')
            ? ResourcePolicyDailyCycle.fromJson(
                json_['dailySchedule'] as core.Map<core.String, core.dynamic>)
            : null,
        hourlySchedule: json_.containsKey('hourlySchedule')
            ? ResourcePolicyHourlyCycle.fromJson(json_['hourlySchedule']
                as core.Map<core.String, core.dynamic>)
            : null,
        weeklySchedule: json_.containsKey('weeklySchedule')
            ? ResourcePolicyWeeklyCycle.fromJson(json_['weeklySchedule']
                as core.Map<core.String, core.dynamic>)
            : null,
      );