signInWithGoogle method
Signs in with Google. Dismissing Google's sign-in is not an error: the state simply settles back.
Implementation
Future<void> signInWithGoogle() async {
state = const AsyncLoading();
state = await AsyncValue.guard(
() => ref.read(authServiceProvider).signInWithGoogle(),
);
}