getLevelDetails abstract method

  1. @GET(Api.getLevelDetails)
Future<DistributerLevelModel> getLevelDetails({
  1. @Query("levelId") required int levelId,
  2. @Header("X-User-Id") String xUserId = "",
  3. @Header("content-type") String type = "application/x-www-form-urlencoded",
})

Implementation

@GET(Api.getLevelDetails)
Future<DistributerLevelModel> getLevelDetails({
  @Query("levelId") required int levelId,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/x-www-form-urlencoded",
});