getOptionsByQuestionId method

Future<Response> getOptionsByQuestionId(
  1. dynamic questionId
)

Implementation

Future<http.Response> getOptionsByQuestionId(questionId) async {
  return get(
      Uri.parse('$apiURL/poll-options/byQuestionId?question=$questionId'),
      headers: {
        "token":
            "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
      });
}