getBucket()
Retrieves the details of an existing Storage bucket.
final res = await supabase
.storage
.getBucket('avatars')
Parameters
idrequired
string
The unique identifier of the bucket you would like to retrieve.
Notes
- Policy permissions required:
buckets
permissions:select
objects
permissions: none
Examples
Get bucket
final res = await supabase
.storage
.getBucket('avatars')