CreateTransportResponse constructor

CreateTransportResponse({
  1. String? peerId,
  2. ProtoTransportSDPInfo? transportSDPInfo,
})

Implementation

factory CreateTransportResponse({
  $core.String? peerId,
  $1.ProtoTransportSDPInfo? transportSDPInfo,
}) {
  final $result = create();
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (transportSDPInfo != null) {
    $result.transportSDPInfo = transportSDPInfo;
  }
  return $result;
}