TokenResponse class

TokenResponse

Inheritance

Constructors

TokenResponse({required String accessToken, required DateTime expire, required String message, required bool success, required int messageCode, required int statusCode})
TokenResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken String
final
expire DateTime
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
messageCode int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
final
success bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the model to a map.
override
toString() String
A string representation of this object.
inherited

Operators

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