toQueryType method

QueryType toQueryType()

Implementation

QueryType toQueryType() {
  switch (this) {
    case 'TAG_FILTERS_1_0':
      return QueryType.tagFilters_1_0;
    case 'CLOUDFORMATION_STACK_1_0':
      return QueryType.cloudformationStack_1_0;
  }
  throw Exception('$this is not known in enum QueryType');
}