getLocations abstract method
Future<GenericLocationResponse>
getLocations(
{ - @Query.new("page") int page = 1,
- @Query.new("size") int size = 100,
- @Query.new("sort") String sort = "createdDate",
- @Query.new("order") String order = "asc",
- @Query.new("softDelete") bool? softDelete,
- @Query.new("locationType") int? locationType,
- @Query.new("channelId") int channelId = 1,
- @Query.new("parentId") String? parentId,
})
Implementation
@GET(Api.locations)
Future<GenericLocationResponse> getLocations({
@Query("page") int page = 1,
@Query("size") int size = 100,
@Query("sort") String sort = "createdDate",
@Query("order") String order = "asc",
@Query("softDelete") bool? softDelete,
@Query("locationType") int? locationType,
@Query("channelId") int channelId = 1,
@Query("parentId") String? parentId,
});