Data class

Contains detailed data from a successful Authyo response, including OTP results, token info, and user details.

Constructors

Data({int? isTried, int? isSent, List<Results>? results, String? tokenType, String? token, int? expiresIn, User? user})
Data.fromJson(Map<String, dynamic> json)

Properties

expiresIn ↔ int?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isSent ↔ int?
getter/setter pair
isTried ↔ int?
getter/setter pair
results ↔ List<Results>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token ↔ String?
getter/setter pair
tokenType ↔ String?
getter/setter pair
user ↔ User?
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