AutomationRuleCondition.fromJson constructor

AutomationRuleCondition.fromJson(
  1. Map json_
)

Implementation

AutomationRuleCondition.fromJson(core.Map json_)
  : this(
      targetsPresentCondition:
          json_.containsKey('targetsPresentCondition')
              ? TargetsPresentCondition.fromJson(
                json_['targetsPresentCondition']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      timedPromoteReleaseCondition:
          json_.containsKey('timedPromoteReleaseCondition')
              ? TimedPromoteReleaseCondition.fromJson(
                json_['timedPromoteReleaseCondition']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );