ConnectRoomResponse constructor
ConnectRoomResponse({
- String? roomId,
- RoomInfo? roomInfo,
- ProtoRtpCapabilities? routerRTPCapabilities,
- Iterable<
ConnectRoomResponse_RTCIceServer> ? turnServers,
Implementation
factory ConnectRoomResponse({
$core.String? roomId,
RoomInfo? roomInfo,
$7.ProtoRtpCapabilities? routerRTPCapabilities,
$core.Iterable<ConnectRoomResponse_RTCIceServer>? turnServers,
}) {
final $result = create();
if (roomId != null) {
$result.roomId = roomId;
}
if (roomInfo != null) {
$result.roomInfo = roomInfo;
}
if (routerRTPCapabilities != null) {
$result.routerRTPCapabilities = routerRTPCapabilities;
}
if (turnServers != null) {
$result.turnServers.addAll(turnServers);
}
return $result;
}