JoinRoomResponse constructor

JoinRoomResponse({
  1. String? roomId,
  2. String? peerId,
  3. ProtoRtpCapabilities? rtpCapabilities,
})

Implementation

factory JoinRoomResponse({
  $core.String? roomId,
  $core.String? peerId,
  $7.ProtoRtpCapabilities? rtpCapabilities,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (rtpCapabilities != null) {
    $result.rtpCapabilities = rtpCapabilities;
  }
  return $result;
}