findProvidersForEmail method
Future<List<String> >
findProvidersForEmail(
- String email, {
- AuthCredential? credential,
inherited
Implementation
@override
Future<List<String>> findProvidersForEmail(
String email, {
AuthCredential? credential,
}) async {
value = const FetchingProvidersForEmail();
try {
final methods = await auth.fetchSignInMethodsForEmail(email);
value = DifferentSignInMethodsFound(email, methods, credential);
return methods;
} on Exception catch (err) {
value = AuthFailed(err);
rethrow;
}
}