User.fromJson constructor
Implementation
factory User.fromJson(Map<String, dynamic> json) => User(
id: json["id"],
firstName: json["first_name"],
middleName: json["middle_name"],
lastName: json["last_name"],
email: json["email"],
dob: json["dob"],
phoneNumber: json["phone_number"],
picture: json["picture"],
city: json["city"],
country: json["country"],
state: json["state"],
address: json["address"],
code: json["code"],
zip: json["zip"],
status: json["status"],
createdAt: json["created_at"],
);