ProduceResponse constructor

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

Implementation

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