VoteResult

data class VoteResult(val voted: Boolean, val voteCount: Int)(source)

Result of toggling an upvote on a feature request via FeedbackClient.toggleVote.

Constructors

Link copied to clipboard
constructor(voted: Boolean, voteCount: Int)

Properties

Link copied to clipboard

The reconciled total vote count on the server after the toggle.

Link copied to clipboard

Whether the user is currently upvoting the request after the toggle.