ThirdPartyLoginWithPhoneNumber class
ThirdPartyLoginWithPhoneNumber
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
{required String phoneNumber, int? timeOut, bool autoSMSResend = false}) → Future< String?> -
This method will start phone number verification
pass
phoneNumber
which is required to verify this is required passtimeOut
this is time out for code auto retrieval default is 30sec passresendToken
when you want to resend the code if code send successfully Code sent success message will be returned -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resendSms(
) → Future< String?> - resendSms if you want to trigger resend sms manually call this method if code send successfully Code sent success message will be returned
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyCode(
{required String smsCode}) → Future< UserCredential?> -
call this method and pass
smsCode
to verify the code you just got if the verification success if will sign-in with the credential and return UserCredential
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited