toOperator method

Operator toOperator()

Implementation

Operator toOperator() {
  switch (this) {
    case 'ALL':
      return Operator.all;
    case 'ANY':
      return Operator.any;
  }
  throw Exception('$this is not known in enum Operator');
}