SupabaseCodegenClient class
Supabase Codegen Client
- Implemented types
Constructors
Properties
- defaultEnvPath → String
-
Default env path
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRunningInTest ↔ bool
-
Are we running in a test environment
getter/setter pairoverride
- platform ↔ String
-
Client type
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supabaseClient ↔ SupabaseClient?
-
Cached client
getter/setter pairoverride
- supabaseInitialized ↔ bool
-
Was
Supabase
initializedgetter/setter pair
Methods
-
createClient(
String url, String key) → Future< SupabaseClient> -
Create the supabase client with the provided
url
andkey
override -
initSupabase(
{required String url, required String key, Client? httpClient}) → Future< void> - Init Supabase
-
loadClientFromEnv(
[String? envPath]) → Future< SupabaseClient> -
Load the supabase client using environment variables
override
-
loadMockSupabaseClient(
) → SupabaseClient -
Load the mock supabase client
override
-
loadSupabaseClient(
[String? envPath]) → SupabaseClient -
Load the supabase client
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setClient(
SupabaseClient client) → SupabaseClient -
Set the supabaseClient to be used by classes generated by the package
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited