authenticate method
Creates an EmailAuthCredential
with the given email
and password
and
performs a corresponding AuthAction.
Implementation
void authenticate(
String email,
String password, [
AuthAction action = AuthAction.signIn,
]) {
final credential = fba.EmailAuthProvider.credential(
email: email,
password: password,
) as fba.EmailAuthCredential;
onCredentialReceived(credential, action);
}