logout method
Signs out the current user, clearing local tokens and logging out of the system.
Returns:
A Future<void>
that resolves when the user is successfully signed out.
Throws:
PassageError
if an error occurs during the sign-out process.
Implementation
Future<void>? logout() {
return PassageFlutterPlatform.instance.signOut();
}