Produce constructor

Produce({
  1. String? label,
  2. String? kind,
  3. ProtoRtpParameters? rtpParameters,
  4. bool? paused,
  5. AppData? appData,
})

Implementation

factory Produce({
  $core.String? label,
  $core.String? kind,
  $2.ProtoRtpParameters? rtpParameters,
  $core.bool? paused,
  $3.AppData? appData,
}) {
  final $result = create();
  if (label != null) {
    $result.label = label;
  }
  if (kind != null) {
    $result.kind = kind;
  }
  if (rtpParameters != null) {
    $result.rtpParameters = rtpParameters;
  }
  if (paused != null) {
    $result.paused = paused;
  }
  if (appData != null) {
    $result.appData = appData;
  }
  return $result;
}