MTRoom.fromJson constructor

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

Implementation

factory MTRoom.fromJson(Map<String, dynamic> json) {
  return MTRoom(
    roomId: json["room_id"],
    roomName: json["room_name"],
    emptyTimeOut: json["emptyTimeout"],
    maxParticipants: json["maxParticipants"],
  );
}