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