fetchSignInMethodsForEmail method

Future<List<String>> fetchSignInMethodsForEmail(
  1. String email
)

Gets the list of possible sign in methods for the given email address.

This is useful to differentiate methods of sign-in for the same provider, eg. EmailAuthProvider which has 2 methods of sign-in, email/password and email/link.

Implementation

Future<List<String>> fetchSignInMethodsForEmail(String email) =>
    handleThenable(jsObject.fetchSignInMethodsForEmail(email))
        .then((list) => List<String>.from(list));