value property

String value

Implementation

String get value {
  switch (this) {
    case CustomListSort.rank:
      return "rank";
    case CustomListSort.added:
      return "added";
    case CustomListSort.title:
      return "title";
    case CustomListSort.released:
      return "released";
    case CustomListSort.runtime:
      return "runtime";
    case CustomListSort.popularity:
      return "popularity";
    case CustomListSort.percentage:
      return "percentage";
    case CustomListSort.votes:
      return "votes";
    case CustomListSort.myRating:
      return "my_rating";
    case CustomListSort.random:
      return "random";
    case CustomListSort.watched:
      return "watched";
    case CustomListSort.collected:
      return "collected";
  }
}