CreatePipeTransportResponse constructor

CreatePipeTransportResponse({
  1. String? roomId,
  2. String? localMomoId,
  3. String? remoteMomoId,
  4. String? transportId,
  5. ProtoSrtpParameters? srtpParameters,
  6. ProtoTransportTuple? tuple,
})

Implementation

factory CreatePipeTransportResponse({
  $core.String? roomId,
  $core.String? localMomoId,
  $core.String? remoteMomoId,
  $core.String? transportId,
  ProtoSrtpParameters? srtpParameters,
  ProtoTransportTuple? tuple,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (localMomoId != null) {
    $result.localMomoId = localMomoId;
  }
  if (remoteMomoId != null) {
    $result.remoteMomoId = remoteMomoId;
  }
  if (transportId != null) {
    $result.transportId = transportId;
  }
  if (srtpParameters != null) {
    $result.srtpParameters = srtpParameters;
  }
  if (tuple != null) {
    $result.tuple = tuple;
  }
  return $result;
}