ClosePeerRequest constructor

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

Implementation

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