Results class

Represents an individual OTP result including delivery status and metadata.

Constructors

Results({bool? success, String? message, String? to, String? authtype, String? maskId, int? createdTime, int? expiretime, int? attemptsRemaining, int? maxVerifyAttempts})
Results.fromJson(Map<String, dynamic> json)

Properties

attemptsRemaining ↔ int?
Wrong-OTP attempts the new session allows, and the ceiling. Lets the dialog show "N of M attempts remaining" before anything is typed.
getter/setter pair
authtype ↔ String?
getter/setter pair
createdTime ↔ int?
getter/setter pair
expiretime ↔ int?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
maskId ↔ String?
getter/setter pair
maxVerifyAttempts ↔ int?
getter/setter pair
message ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success ↔ bool?
getter/setter pair
to ↔ String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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