value property

String value

Implementation

String get value {
  switch (this) {
    case ListCommentsSortBy.newest:
      return "newest";
    case ListCommentsSortBy.oldest:
      return "oldest";
    case ListCommentsSortBy.likes:
      return "likes";
    case ListCommentsSortBy.replies:
      return "replies";
  }
}