credential method Null safety

PhoneAuthCredential credential(
  1. {required String verificationId,
  2. required String smsCode}
)

Create a new PhoneAuthCredential from a provided verificationId and smsCode.

Implementation

static PhoneAuthCredential credential({
  required String verificationId,
  required String smsCode,
}) {
  return PhoneAuthCredential._credential(verificationId, smsCode);
}