ConsumeDataResponse constructor
ConsumeDataResponse({})
Implementation
factory ConsumeDataResponse({
$core.String? id,
$core.String? dataProducerId,
$4.ProtoSctpStreamParameters? sctpStreamParameters,
$core.String? label,
$core.String? protocol,
$core.Map<$core.String, $core.String>? appData,
$core.String? peerId,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (dataProducerId != null) {
$result.dataProducerId = dataProducerId;
}
if (sctpStreamParameters != null) {
$result.sctpStreamParameters = sctpStreamParameters;
}
if (label != null) {
$result.label = label;
}
if (protocol != null) {
$result.protocol = protocol;
}
if (appData != null) {
$result.appData.addAll(appData);
}
if (peerId != null) {
$result.peerId = peerId;
}
return $result;
}