toCostCategoryRuleVersion method

CostCategoryRuleVersion toCostCategoryRuleVersion()

Implementation

CostCategoryRuleVersion toCostCategoryRuleVersion() {
  switch (this) {
    case 'CostCategoryExpression.v1':
      return CostCategoryRuleVersion.costCategoryExpressionV1;
  }
  throw Exception('$this is not known in enum CostCategoryRuleVersion');
}