toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutoMLSortOrder.ascending:
      return 'Ascending';
    case AutoMLSortOrder.descending:
      return 'Descending';
  }
}