UserList.fromJson constructor
Converts a UserList object into a map.
Implementation
factory UserList.fromJson(Map<String, dynamic> json) => UserList(
data: json["data"] == null
? null
: List<ProfileDetails>.from(
json["data"].map((x) => ProfileDetails.fromJson(x))),
status: json["status"],
);