File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class SupabaseClient {
6363 late final PostgrestClient rest;
6464 StreamSubscription <AuthState >? _authStateSubscription;
6565 late final YAJsonIsolate _isolate;
66- final Future <String > Function ()? accessToken;
66+ final Future <String ? > Function ()? accessToken;
6767
6868 /// Increment ID of the stream to create different realtime topic for each stream
6969 final _incrementId = Counter ();
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class Supabase with WidgetsBindingObserver {
8181 PostgrestClientOptions postgrestOptions = const PostgrestClientOptions (),
8282 StorageClientOptions storageOptions = const StorageClientOptions (),
8383 FlutterAuthClientOptions authOptions = const FlutterAuthClientOptions (),
84- Future <String > Function ()? accessToken,
84+ Future <String ? > Function ()? accessToken,
8585 bool ? debug,
8686 }) async {
8787 assert (
@@ -186,7 +186,7 @@ class Supabase with WidgetsBindingObserver {
186186 required PostgrestClientOptions postgrestOptions,
187187 required StorageClientOptions storageOptions,
188188 required AuthClientOptions authOptions,
189- required Future <String > Function ()? accessToken,
189+ required Future <String ? > Function ()? accessToken,
190190 }) {
191191 final headers = {
192192 ...Constants .defaultHeaders,
You can’t perform that action at this time.
0 commit comments