CreateTransportRequest constructor

CreateTransportRequest({
  1. String? roomId,
  2. String? peerId,
  3. String? transportType,
  4. ProtoSctpCapabilities? sctpCapabilities,
})

Implementation

factory CreateTransportRequest({
  $core.String? roomId,
  $core.String? peerId,
  $core.String? transportType,
  $0.ProtoSctpCapabilities? sctpCapabilities,
}) {
  final $result = create();
  if (roomId != null) {
    $result.roomId = roomId;
  }
  if (peerId != null) {
    $result.peerId = peerId;
  }
  if (transportType != null) {
    $result.transportType = transportType;
  }
  if (sctpCapabilities != null) {
    $result.sctpCapabilities = sctpCapabilities;
  }
  return $result;
}