CloseConsumerRequest constructor

CloseConsumerRequest({
  1. String? peerId,
  2. String? roomId,
  3. String? consumerId,
})

Implementation

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