removePollVote method

Future<bool> removePollVote(
  1. dynamic pollVoteId
)

Implementation

Future<bool> removePollVote(pollVoteId) {
  Log(
    logName: 'RemovePollVote',
    className: 'Poll',
    methodName: 'removePollVote',
    type: 'INFO',
    text:
        '{event: Remove Poll Vote, user: ${currentUser?.userPayloadId}, user is ${currentUser?.firstName} ${currentUser?.lastName}, poll vote id: id- $pollVoteId',
  );
  return _httpService
      .removePollVote(pollVoteId: pollVoteId)
      .then((data) async {
    if (data.statusCode == 200) {
      return true;
    }
    return false;
  });
}