credentialFromToken static method

PhoneAuthCredential credentialFromToken(
  1. int token, {
  2. String? smsCode,
})

Create a PhoneAuthCredential from an internal token, where the ID relates to a natively stored credential.

Implementation

static PhoneAuthCredential credentialFromToken(int token, {String? smsCode}) {
  return PhoneAuthCredential._credentialFromToken(token, smsCode: smsCode);
}