toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImageSortOrder.ascending:
      return 'ASCENDING';
    case ImageSortOrder.descending:
      return 'DESCENDING';
  }
}