toOperatorType method

OperatorType toOperatorType()

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');
}