toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Operator.equals:
      return 'Equals';
    case Operator.notEquals:
      return 'NotEquals';
    case Operator.$in:
      return 'In';
    case Operator.lessThanOrEqual:
      return 'LessThanOrEqual';
    case Operator.lessThan:
      return 'LessThan';
    case Operator.greaterThanOrEqual:
      return 'GreaterThanOrEqual';
    case Operator.greaterThan:
      return 'GreaterThan';
    case Operator.contains:
      return 'Contains';
    case Operator.notContains:
      return 'NotContains';
    case Operator.beginsWith:
      return 'BeginsWith';
  }
}