Dart Reference v2.0

List all buckets

Retrieves the details of all Storage buckets within an existing product.

  • Policy permissions required:
    • buckets permissions: select
    • objects permissions: none

final List<Bucket> buckets = await supabase
  .storage
  .listBuckets();