CloseProducerRequest constructor

CloseProducerRequest({
  1. String? peerId,
  2. String? roomId,
  3. String? producerId,
  4. String? momoId,
  5. String? kind,
})

Implementation

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