fetchSignInMethodsForEmail method
Fetches the sign-in methods available for the provided email.
Implementation
Future<List<String>> fetchSignInMethodsForEmail(String email) async {
try {
return await _authDataService.fetchSignInMethodsForEmail(email);
} catch (e) {
if (e is RdevException) {
throw AuthServiceException(
code: e.code, message: e.message, stackTrace: e.stackTrace);
}
throw AuthServiceException(
stackTrace: StackTrace.current, message: e.toString());
}
}