copyWith method
FlutterAuthClientOptions
copyWith({
- AuthFlowType? authFlowType,
- bool? autoRefreshToken,
- LocalStorage? localStorage,
- GotrueAsyncStorage? pkceAsyncStorage,
- bool? detectSessionInUri,
Implementation
FlutterAuthClientOptions copyWith({
AuthFlowType? authFlowType,
bool? autoRefreshToken,
LocalStorage? localStorage,
GotrueAsyncStorage? pkceAsyncStorage,
bool? detectSessionInUri,
}) {
return FlutterAuthClientOptions(
authFlowType: authFlowType ?? this.authFlowType,
autoRefreshToken: autoRefreshToken ?? this.autoRefreshToken,
localStorage: localStorage ?? this.localStorage,
pkceAsyncStorage: pkceAsyncStorage ?? this.pkceAsyncStorage,
detectSessionInUri: detectSessionInUri ?? this.detectSessionInUri,
);
}