ProtoTransportSDPInfo constructor
ProtoTransportSDPInfo({
- String? id,
- Iterable<
ProtoIceCandidates> ? iceCandidates, - ProtoIceParameters? iceParameters,
- ProtoDtlsParameters? dtlsParameters,
- ProtoSctpParameters? sctpParameters,
Implementation
factory ProtoTransportSDPInfo({
$core.String? id,
$core.Iterable<ProtoIceCandidates>? iceCandidates,
ProtoIceParameters? iceParameters,
ProtoDtlsParameters? dtlsParameters,
ProtoSctpParameters? sctpParameters,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (iceCandidates != null) {
$result.iceCandidates.addAll(iceCandidates);
}
if (iceParameters != null) {
$result.iceParameters = iceParameters;
}
if (dtlsParameters != null) {
$result.dtlsParameters = dtlsParameters;
}
if (sctpParameters != null) {
$result.sctpParameters = sctpParameters;
}
return $result;
}