ResourcePolicyDailyCycle.fromJson constructor

ResourcePolicyDailyCycle.fromJson(
  1. Map json_
)

Implementation

ResourcePolicyDailyCycle.fromJson(core.Map json_)
    : this(
        daysInCycle: json_.containsKey('daysInCycle')
            ? json_['daysInCycle'] as core.int
            : null,
        duration: json_.containsKey('duration')
            ? json_['duration'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );