VideoRoomListParticipantsResponse.fromJson constructor Null safety

VideoRoomListParticipantsResponse.fromJson(
  1. 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));
    });
  }
}