credential method Null safety

AuthCredential credential(
  1. {required String email,
  2. required String password}
)

Creates a new EmailAuthCredential from a given email and password.

Implementation

static AuthCredential credential({
  required String email,
  required String password,
}) {
  return EmailAuthCredential._credential(email, password);
}