File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class SupabaseClient {
63
63
late final PostgrestClient rest;
64
64
StreamSubscription <AuthState >? _authStateSubscription;
65
65
late final YAJsonIsolate _isolate;
66
- final Future <String > Function ()? accessToken;
66
+ final Future <String ? > Function ()? accessToken;
67
67
68
68
/// Increment ID of the stream to create different realtime topic for each stream
69
69
final _incrementId = Counter ();
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class Supabase with WidgetsBindingObserver {
81
81
PostgrestClientOptions postgrestOptions = const PostgrestClientOptions (),
82
82
StorageClientOptions storageOptions = const StorageClientOptions (),
83
83
FlutterAuthClientOptions authOptions = const FlutterAuthClientOptions (),
84
- Future <String > Function ()? accessToken,
84
+ Future <String ? > Function ()? accessToken,
85
85
bool ? debug,
86
86
}) async {
87
87
assert (
@@ -186,7 +186,7 @@ class Supabase with WidgetsBindingObserver {
186
186
required PostgrestClientOptions postgrestOptions,
187
187
required StorageClientOptions storageOptions,
188
188
required AuthClientOptions authOptions,
189
- required Future <String > Function ()? accessToken,
189
+ required Future <String ? > Function ()? accessToken,
190
190
}) {
191
191
final headers = {
192
192
...Constants .defaultHeaders,
You can’t perform that action at this time.
0 commit comments