upvote method

Future<void> upvote({
  1. bool waitForResponse = true,
})

Clear the authenticated user's vote on the object.

Note: votes must be cast on behalf of a human user (i.e., no automatic voting by bots). See Reddit rules for more details on what is considered vote cheating or manipulation.

Implementation

Future<void> upvote({bool waitForResponse = true}) async =>
    _vote(VoteState.upvoted, waitForResponse);