ProduceData constructor

ProduceData({
  1. String? transportId,
  2. ProtoSctpStreamParameters? sctpStreamParameters,
  3. String? label,
  4. String? protocol,
  5. AppData? appData,
})

Implementation

factory ProduceData({
  $core.String? transportId,
  $4.ProtoSctpStreamParameters? sctpStreamParameters,
  $core.String? label,
  $core.String? protocol,
  $3.AppData? appData,
}) {
  final $result = create();
  if (transportId != null) {
    $result.transportId = transportId;
  }
  if (sctpStreamParameters != null) {
    $result.sctpStreamParameters = sctpStreamParameters;
  }
  if (label != null) {
    $result.label = label;
  }
  if (protocol != null) {
    $result.protocol = protocol;
  }
  if (appData != null) {
    $result.appData = appData;
  }
  return $result;
}