clear method

void clear()

Clear all data

Implementation

void clear() {
  if (kIsWeb) {
    _recaptchaVerifierForWeb?.clear();
    _recaptchaVerifierForWeb = null;
  }
  codeSent = false;
  _webConfirmationResult = null;
  _onLoginSuccess = null;
  _onLoginFailed = null;
  _onError = null;
  _onCodeSent = null;
  _signOutOnSuccessfulVerification = false;
  // _forceResendingToken = null;
  _otpExpirationTimer?.cancel();
  _otpExpirationTimer = null;
  _otpAutoRetrievalTimer?.cancel();
  _otpAutoRetrievalTimer = null;
  _phoneNumber = null;
  _linkWithExistingUser = false;
  _autoRetrievalTimeOutDuration = kAutoRetrievalTimeOutDuration;
  _otpExpirationDuration = kAutoRetrievalTimeOutDuration;
  _verificationId = null;
}