Supabase class

Supabase instance.

It must be initialized before used, otherwise an error is thrown.

await Supabase.initialize(...)

Use it:

final instance = Supabase.instance;

See also:

Properties

client SupabaseClient
The supabase client for this instance
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose the instance to free up resources.
log(String msg) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance Supabase
Gets the current supabase instance.
no setter

Static Methods

initialize({String? url, String? anonKey, String? authCallbackUrlHostname, bool? debug, LocalStorage? localStorage}) Future<Supabase>
Initialize the current supabase instance