value property

String value

Implementation

String get value {
  switch (this) {
    case CommentsSortBy.newest:
      return "newest";
    case CommentsSortBy.oldest:
      return "oldest";
    case CommentsSortBy.likes:
      return "likes";
    case CommentsSortBy.replies:
      return "replies";
    case CommentsSortBy.highest:
      return "highest";
    case CommentsSortBy.lowest:
      return "lowest";
    case CommentsSortBy.plays:
      return "plays";
  }
}