AuthResp class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AuthResp({required int errorCode, String? errorMessage, String? userId, String? accessToken, String? refreshToken, int? expiresIn})
const
AuthResp.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken String?
final
errorCode int
finalinherited
errorMessage String?
finalinherited
expiresIn int?
final
hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
no setterinherited
isSuccessful bool
no setterinherited
refreshToken String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
final

Methods

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

Operators

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