Flutter: Update a bucket | Supabase Docs (original) (raw)

Updates a new Storage bucket

Parameters

(Required)
A unique identifier for the bucket you are updating.

(Required)
A parameter to optionally make the bucket public.

Examples

Update bucket

final String res = await supabase
  .storage
  .updateBucket('avatars', const BucketOptions(public: false));