ProduceResponse constructor

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

Implementation

factory ProduceResponse({
  $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;
}