SupabaseStorageClient class Null safety

Constructors

SupabaseStorageClient(String url, Map<String, String> headers, {Client? httpClient, int retryAttempts = 0})
To create a SupabaseStorageClient, you need to provide an url and headers.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
url String
finalinherited

Methods

createBucket(String id, [BucketOptions bucketOptions = const BucketOptions(public: false)]) Future<String>
Creates a new Storage bucket
inherited
deleteBucket(String id) Future<String>
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first clear the bucket using emptyBucket.
inherited
emptyBucket(String id) Future<String>
Removes all objects inside a single bucket.
inherited
from(String id) StorageFileApi
Perform file operation in a bucket.
getBucket(String id) Future<Bucket>
Retrieves the details of an existing Storage bucket.
inherited
listBuckets() Future<List<Bucket>>
Retrieves the details of all Storage buckets within an existing project.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateBucket(String id, BucketOptions bucketOptions) Future<String>
Updates a new Storage bucket
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited