CloseProducerSuccess constructor

CloseProducerSuccess({
  1. String? peerId,
  2. String? producerId,
  3. String? label,
})

Implementation

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