RuleChain.fromJson constructor

RuleChain.fromJson(
  1. Map<String, dynamic> json
)

Implementation

RuleChain.fromJson(Map<String, dynamic> json)
    : tenantId = TenantId.fromJson(json['tenantId']),
      name = json['name'],
      type = ruleChainTypeFromString(json['type']),
      firstRuleNodeId = RuleNodeId.fromJson(json['firstRuleNodeId']),
      root = json['root'],
      debugMode = json['debugMode'],
      configuration = json['configuration'],
      externalId = json['externalId'] != null
          ? RuleChainId.fromJson(json['externalId'])
          : null,
      super.fromJson(json);