toOperatorType method
Implementation
OperatorType toOperatorType() {
switch (this) {
case 'EQ':
return OperatorType.eq;
case 'REF_EQ':
return OperatorType.refEq;
case 'LE':
return OperatorType.le;
case 'GE':
return OperatorType.ge;
case 'BETWEEN':
return OperatorType.between;
}
throw Exception('$this is not known in enum OperatorType');
}