OtpAuthenticator constructor

OtpAuthenticator({
  1. required String token,
  2. required String smsCode,
  3. OtpType type = OtpType.phone,
  4. String? email,
  5. String? id = "",
  6. int? timeMills,
  7. String? name,
  8. String? phone,
  9. String? photo,
  10. String? provider,
  11. String? username,
  12. Map<String, dynamic>? extra,
})

Implementation

OtpAuthenticator({
  required String token,
  required String smsCode,
  this.type = OtpType.phone,
  super.email,
  super.id,
  super.timeMills,
  super.name,
  super.phone,
  super.photo,
  super.provider,
  super.username,
  super.extra,
}) : super.otp(idToken: token, accessToken: smsCode);