VideoRoomListParticipantsResponse.fromJson constructor Null safety
- dynamic json
Implementation
VideoRoomListParticipantsResponse.fromJson(dynamic json) {
videoroom = json['videoroom'];
room = json['room'];
if (json['participants'] != null) {
participants = [];
json['participants'].forEach((v) {
participants?.add(Participants.fromJson(v));
});
}
}