Storage class

Constructors

Storage({required String supabaseUrl, required String supabaseKey, PostgrestClientOptions postgrestOptions = const PostgrestClientOptions(), AuthClientOptions authOptions = const AuthClientOptions(), StorageClientOptions storageOptions = const StorageClientOptions(), RealtimeClientOptions realtimeClientOptions = const RealtimeClientOptions(), Map<String, String>? headers, Client? httpClient, YAJsonIsolate? isolate})
database db

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supabase_client SupabaseClient
getter/setter pair

Methods

client({required SupabaseClient? supabaseClient}) SupabaseClient
createBucket({required String id, BucketOptions bucketOptions = const BucketOptions(public: false), SupabaseClient? supabaseClient}) Future<String>
deleteBucket({required String id, SupabaseClient? supabaseClient}) Future<String>
emptyBucket({required String id, SupabaseClient? supabaseClient}) Future<String>
get({required String id, SupabaseClient? supabaseClient}) StorageFileApi
getBucket({required String id, SupabaseClient? supabaseClient}) Future<Bucket>
listBuckets({SupabaseClient? supabaseClient}) Future<List<Bucket>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateBucket({required String id, BucketOptions bucketOptions = const BucketOptions(public: false), SupabaseClient? supabaseClient}) Future<String>

Operators

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