SmsCodeResult class

The returned value from SmartAuth.getSmsCode Contains the whole sms and the OTP code itself

Constructors

SmsCodeResult({required String? sms, required String? code, bool succeed = false})
SmsCodeResult.fromSms(String? sms, String matcher)
factory

Properties

code String?
The actual code retrieved from SMS
final
codeFound bool
Returns true if OTP code was found in the SMS content
no setter
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
succeed bool
Returns true sms content != null
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