OtpService class abstract

This interface defines a One-Time-Password service.

Constructors

OtpService()
The default, const constructor. Used by subclasses.
const

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

login(String phone, {Map<String, dynamic> parameters = const <String, dynamic>{}}) Future<PendingOtpVerification>
Login using the given phone number.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String phone, {Map<String, dynamic> parameters = const <String, dynamic>{}}) Future<Map<String, dynamic>>
Update the login information using the given phone number.

Operators

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