SmartAuthSms class
The returned value from SmartAuth.getSmsWithRetrieverApi and SmartAuth.getSmsWithUserConsentApi Contains the whole sms and the OTP code itself
Constructors
- SmartAuthSms.new({required String sms, required String? code})
-
const
Properties
- code → String?
-
The actual code retrieved from SMS
Can be null if the regex matcher didn't find any code but user received the SMS
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sms → String
-
The SMS text received from your OTP sender
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromSms(
String sms, String matcher) → SmartAuthSms