getLocation abstract method
Future<GenericLocationResponse>
getLocation(
{ - @Query("page") int page = 1,
- @Query("size") int size = 100,
- @Query("sort") String sort = "createdDate",
- @Query("order") String order = "desc",
- @Query("softDelete") bool softDelete = false,
- @Query("locationType") int locationType = 2,
- @Query("parentId") String? parentId,
})
Implementation
@GET(Api.getlocations)
Future<GenericLocationResponse> getLocation({
@Query("page") int page = 1,
@Query("size") int size = 100,
@Query("sort") String sort = "createdDate",
@Query("order") String order = "desc",
@Query("softDelete") bool softDelete = false,
@Query("locationType") int locationType = 2,
@Query("parentId") String? parentId,
});