signInWithEmailAndPassword method
Asynchronously signs in using an email and password.
Fails with an error if the email address and password do not match.
Note: The user's password is NOT the password used to access the user's email account. The email address serves as a unique identifier for the user, and the password is used to access the user's account in your Firebase project.
Implementation
Future<UserCredential> signInWithEmailAndPassword(
String email, String password) =>
handleThenable(jsObject.signInWithEmailAndPassword(email, password))
.then((u) => UserCredential.fromJsObject(u));