toFilterCondition method

FilterCondition toFilterCondition()

Implementation

FilterCondition toFilterCondition() {
  switch (this) {
    case 'EQ':
      return FilterCondition.eq;
    case 'IN':
      return FilterCondition.$in;
    case 'BETWEEN':
      return FilterCondition.between;
  }
  throw Exception('$this is not known in enum FilterCondition');
}