toRuleExecutionMode method

RuleExecutionMode toRuleExecutionMode()

Implementation

RuleExecutionMode toRuleExecutionMode() {
  switch (this) {
    case 'ALL_MATCHED':
      return RuleExecutionMode.allMatched;
    case 'FIRST_MATCHED':
      return RuleExecutionMode.firstMatched;
  }
  throw Exception('$this is not known in enum RuleExecutionMode');
}