PipeConsumeRequest constructor

PipeConsumeRequest({
  1. String? roomId,
  2. String? remoteMomoId,
  3. String? producerId,
  4. String? producerPeerId,
})

Implementation

factory PipeConsumeRequest({
  $core.String? roomId,
  $core.String? remoteMomoId,
  $core.String? producerId,
  $core.String? producerPeerId,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (remoteMomoId != null) {
    $result.remoteMomoId = remoteMomoId;
  }
  if (producerId != null) {
    $result.producerId = producerId;
  }
  if (producerPeerId != null) {
    $result.producerPeerId = producerPeerId;
  }
  return $result;
}