BatchCloseProducersRequest constructor

BatchCloseProducersRequest({
  1. Iterable<BatchCloseProducersRequest_CloseProducerRecord>? repeatedCloseProducers,
  2. String? roomId,
})

Implementation

factory BatchCloseProducersRequest({
  $core.Iterable<BatchCloseProducersRequest_CloseProducerRecord>?
      repeatedCloseProducers,
  $core.String? roomId,
}) {
  final $result = create();
  if (repeatedCloseProducers != null) {
    $result.repeatedCloseProducers.addAll(repeatedCloseProducers);
  }
  if (roomId != null) {
    $result.roomId = roomId;
  }
  return $result;
}