GlobalResponseModel class

Annotations
  • @JsonSerializable()

Constructors

GlobalResponseModel(UserModel? user, String? code, String? field, String? encryptedAccessToken, {required bool ok, String message = "Process Complete", String? key, int? otp})
GlobalResponseModel.fromJson(Map<String, dynamic> data)
factory

Properties

code String?
final
encryptedAccessToken String?
final
field String?
final
hashCode int
The hash code for this object.
no setterinherited
key String?
final
message String
final
ok bool
final
otp int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user UserModel?
final

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