getDealerOnboardingCount abstract method

  1. @GET(Api.getDealerOnboardingCount)
Future<DealerOnboardingModel> getDealerOnboardingCount({
  1. @Query("createdBy") required String userId,
  2. @Query("fromDate") required String fromDate,
  3. @Query("toDate") required String toDate,
  4. @Query("size") int size = 1,
  5. @Header("X-User-Id") String xUserId = "",
  6. @Header("content-type") String type = "application/x-www-form-urlencoded",
})

Implementation

@GET(Api.getDealerOnboardingCount)
Future<DealerOnboardingModel> getDealerOnboardingCount({
  @Query("createdBy") required String userId,
  @Query("fromDate") required String fromDate,
  @Query("toDate") required String toDate,
  @Query("size") int size = 1,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/x-www-form-urlencoded",
});