toLogical method

Logical toLogical()

Implementation

Logical toLogical() {
  switch (this) {
    case 'AND':
      return Logical.and;
    case 'ANY':
      return Logical.any;
  }
  throw Exception('$this is not known in enum Logical');
}