toNumericOperator method
Implementation
NumericOperator toNumericOperator() {
switch (this) {
case 'EQUAL':
return NumericOperator.equal;
case 'GREATER_THAN_OR_EQUAL':
return NumericOperator.greaterThanOrEqual;
case 'LESS_THAN_OR_EQUAL':
return NumericOperator.lessThanOrEqual;
case 'GREATER_THAN':
return NumericOperator.greaterThan;
case 'LESS_THAN':
return NumericOperator.lessThan;
case 'BETWEEN':
return NumericOperator.between;
}
throw Exception('$this is not known in enum NumericOperator');
}