AuthRes.fromJson constructor
Implementation
factory AuthRes.fromJson(Map<String, dynamic> json) => AuthRes(
id: json["id"],
firstName: json["first_name"],
lastName: json["last_name"],
email: json["email"],
companyId: json["company_id"],
createdAt: DateTime.parse(json["created_at"]),
token: json["token"],
);