toType method

Type toType()

Implementation

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