onboardingUpdate abstract method

  1. @POST("${Api.onboardingUpdate}/{id}")
Future<GenericResponse> onboardingUpdate({
  1. @Path() required int id,
  2. @Header("X-UserId") String xUserId = "",
  3. @Body() required dynamic body,
  4. @Header("Content-Type") String type = "application/json",
})

Implementation

@POST("${Api.onboardingUpdate}/{id}")
Future<GenericResponse> onboardingUpdate({
  @Path() required int id,
  @Header("X-UserId") String xUserId = "",
  @Body() required body,
  @Header("Content-Type") String type = "application/json",
});