toSelect method

Select toSelect()

Implementation

Select toSelect() {
  switch (this) {
    case 'ALL_ATTRIBUTES':
      return Select.allAttributes;
    case 'ALL_PROJECTED_ATTRIBUTES':
      return Select.allProjectedAttributes;
    case 'SPECIFIC_ATTRIBUTES':
      return Select.specificAttributes;
    case 'COUNT':
      return Select.count;
  }
  throw Exception('$this is not known in enum Select');
}