getServiceParent abstract method

  1. @GET.new("${Api.serviceParent}/{dealerId}")
Future<ServiceParentResponseModel> getServiceParent({
  1. @Path.new("dealerId") required String dealerId,
  2. @Header.new("X-User-Id") String xUserId = "",
  3. @Header.new("content-type") String type = "application/json",
})

Implementation

@GET("${Api.serviceParent}/{dealerId}")
Future<ServiceParentResponseModel> getServiceParent({
  @Path("dealerId") required String dealerId,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/json",
});