getVotesByOptionId method

Future<Response> getVotesByOptionId(
  1. dynamic optionId
)

Implementation

Future<http.Response> getVotesByOptionId(optionId) async {
  return get(Uri.parse('$apiURL/poll-votes/byOptionId?option=$optionId'),
      headers: {
        "token":
            "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
      });
}