ParticipantsList.fromJson constructor

ParticipantsList.fromJson(
  1. dynamic json
)

Implementation

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