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