toFeatureGroupSortOrder method

FeatureGroupSortOrder toFeatureGroupSortOrder()

Implementation

FeatureGroupSortOrder toFeatureGroupSortOrder() {
  switch (this) {
    case 'Ascending':
      return FeatureGroupSortOrder.ascending;
    case 'Descending':
      return FeatureGroupSortOrder.descending;
  }
  throw Exception('$this is not known in enum FeatureGroupSortOrder');
}