submitSurvey abstract method

  1. @PUT(Api.submitSurvey)
Future<GenericResponse> submitSurvey({
  1. @Body() required dynamic body,
  2. @Header("X-UserId") String xUserId = "",
  3. @Header("content-type") String type = "application/json",
})

Implementation

@PUT(Api.submitSurvey)
Future<GenericResponse> submitSurvey({
  @Body() required body,
  @Header("X-UserId") String xUserId = "",
  @Header("content-type") String type = "application/json",
});