value property

String value

Implementation

String get value {
  switch (this) {
    case ListSort.popular:
      return "popular";
    case ListSort.likes:
      return "likes";
    case ListSort.comments:
      return "comments";
    case ListSort.items:
      return "items";
    case ListSort.added:
      return "added";
    case ListSort.updated:
      return "updated";
  }
}