PromoteReleaseRule.fromJson constructor

PromoteReleaseRule.fromJson(
  1. Map json_
)

Implementation

PromoteReleaseRule.fromJson(core.Map json_)
    : this(
        condition: json_.containsKey('condition')
            ? AutomationRuleCondition.fromJson(
                json_['condition'] as core.Map<core.String, core.dynamic>)
            : null,
        destinationPhase: json_.containsKey('destinationPhase')
            ? json_['destinationPhase'] as core.String
            : null,
        destinationTargetId: json_.containsKey('destinationTargetId')
            ? json_['destinationTargetId'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        wait: json_.containsKey('wait') ? json_['wait'] as core.String : null,
      );