AdvanceRolloutRule.fromJson constructor

AdvanceRolloutRule.fromJson(
  1. Map json_
)

Implementation

AdvanceRolloutRule.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? AutomationRuleCondition.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        sourcePhases: json_.containsKey('sourcePhases')
            ? (json_['sourcePhases'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        wait: json_.containsKey('wait') ? json_['wait'] as core.String : null,
      );