ProtoTransportTuple constructor

ProtoTransportTuple({
  1. String? localIp,
  2. int? localPort,
  3. String? remoteIp,
  4. int? remotePort,
  5. String? protocol,
  6. String? localAddress,
})

Implementation

factory ProtoTransportTuple({
  $core.String? localIp,
  $core.int? localPort,
  $core.String? remoteIp,
  $core.int? remotePort,
  $core.String? protocol,
  $core.String? localAddress,
}) {
  final $result = create();
  if (localIp != null) {
    $result.localIp = localIp;
  }
  if (localPort != null) {
    $result.localPort = localPort;
  }
  if (remoteIp != null) {
    $result.remoteIp = remoteIp;
  }
  if (remotePort != null) {
    $result.remotePort = remotePort;
  }
  if (protocol != null) {
    $result.protocol = protocol;
  }
  if (localAddress != null) {
    $result.localAddress = localAddress;
  }
  return $result;
}