SupabaseStorageClient class

Constructors

SupabaseStorageClient(String url, Map<String, String> headers)

Properties

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

Methods

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

Operators

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