JoinRoomRequest constructor

JoinRoomRequest({
  1. String? roomId,
  2. String? peerId,
})

Implementation

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