toAutoMLSortOrder method

AutoMLSortOrder toAutoMLSortOrder()

Implementation

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