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