AutomationRule.fromJson constructor

AutomationRule.fromJson(
  1. Map json_
)

Implementation

AutomationRule.fromJson(core.Map json_)
    : this(
        advanceRolloutRule: json_.containsKey('advanceRolloutRule')
            ? AdvanceRolloutRule.fromJson(json_['advanceRolloutRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        promoteReleaseRule: json_.containsKey('promoteReleaseRule')
            ? PromoteReleaseRule.fromJson(json_['promoteReleaseRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        repairRolloutRule: json_.containsKey('repairRolloutRule')
            ? RepairRolloutRule.fromJson(json_['repairRolloutRule']
                as core.Map<core.String, core.dynamic>)
            : null,
      );