toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OperatorType.eq:
      return 'eq';
    case OperatorType.lt:
      return 'lt';
    case OperatorType.gt:
      return 'gt';
    case OperatorType.le:
      return 'le';
    case OperatorType.ge:
      return 'ge';
    case OperatorType.$in:
      return 'in';
    case OperatorType.between:
      return 'between';
  }
}