signInAnonymously method
Implementation
@override
Future<User?> signInAnonymously({
Function? onSuccessOption,
Function? catchErrorOption,
}) async {
try {
UserCredential credential = await auth.signInAnonymously();
onSuccessOption;
return credential.user;
} catch (e) {
catchOnError(' Sign In Anonimously was Error: $e',
catchErrorOption: catchErrorOption);
}
return null;
}