UserList.fromJson constructor

UserList.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserList.fromJson(Map<String, dynamic> json) => UserList(
      data: json["data"] == null
          ? null
          : List<Profile>.from(json["data"].map((x) => Profile.fromJson(x))),
      status: json["status"],
    );