OtpService class

Mixed-in types

Constructors

OtpService(MethodChannel _channel)

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

decodeError(PlatformException error) Map<String, dynamic>
Mapping communication error structure.
inherited
getTimeout(Methods method) Duration
Specific timeout logic for specific methods.
inherited
login(dynamic phone, {dynamic params}) Future<PendingOtpVerification>
Login using otp phone combination.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
timeoutError() Map<String, dynamic>
Genetic timeout error.
inherited
toString() String
A string representation of this object.
inherited
update(dynamic phone, {dynamic params}) Future<Map<String, dynamic>?>
Update using otp phone combination.

Operators

operator ==(Object other) bool
The equality operator.
inherited