logout method
Implementation
@override
Future<AuthResult<void>> logout() async {
try {
await _auth.signOut();
return const AuthResult.success(null);
} on fb.FirebaseAuthException catch (e) {
return AuthResult.failure(AuthException.fromFirebase(e));
}
}