Retrieves the details of all Storage buckets within an existing product.
buckets permissions: selectobjects permissions: noneOptionally filter, sort and paginate the returned buckets. Calling `listBuckets()` without any options returns all buckets.
final List<Bucket> buckets = await supabase
.storage
.listBuckets();
final List<Bucket> buckets = await supabase
.storage
.listBuckets(
const ListBucketsOptions(
limit: 10,
offset: 0,
search: 'avatar',
sortColumn: BucketSortColumn.createdAt,
sortOrder: BucketSortOrder.descending,
),
);