Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Dart Reference v2.0

Update a bucket

Updates a new Storage bucket

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

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