toBooleanOperator method
Implementation
BooleanOperator toBooleanOperator() {
switch (this) {
case 'And':
return BooleanOperator.and;
case 'Or':
return BooleanOperator.or;
}
throw Exception('$this is not known in enum BooleanOperator');
}