getMoreInfo abstract method

  1. @GET("${Api.getMoreInfo}/{dealerId}")
Future<DealerDetailsModel> getMoreInfo({
  1. @Path("dealerId") required String dealerId,
  2. @Header("X-User-Id") String xUserId = "",
  3. @Header("content-type") String type = "application/x-www-form-urlencoded",
})

Implementation

@GET("${Api.getMoreInfo}/{dealerId}")
Future<DealerDetailsModel> getMoreInfo({
  @Path("dealerId") required String dealerId,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/x-www-form-urlencoded",
});