ConsumeRequest constructor

ConsumeRequest({
  1. String? peerId,
  2. String? roomId,
  3. String? producerPeerId,
  4. String? producerId,
  5. String? momoId,
  6. String? label,
})

Implementation

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