ParticipantsList.fromJson constructor
ParticipantsList.fromJson(
- dynamic json
Implementation
ParticipantsList.fromJson(dynamic json) {
if (json['userList'] != null) {
_activeList = [];
print("TestUSer");
json['userList'].forEach((v) {
_activeList?.add(UserListModel.fromJson(v));
});
}
}