addVote<T> method

Future<ApiResponse<T>> addVote<T>(
  1. Map<String, Object> params
)

Adds the current user's vote to the selected answer in the poll.

Implementation

Future<ApiResponse<T>> addVote<T>(Map<String, Object> params) =>
    _api.request<T>('polls.addVote', params);