ProxyDetails constructor

ProxyDetails({
  1. required String name,
  2. required int port,
  3. required ProxyType type,
})

Create a new ProxyDetails instance.

Parameters

  • name: The proxy host name or address.
  • port: The proxy port number.
  • type: The ProxyType indicating the proxy protocol.

Implementation

ProxyDetails({required this.name, required this.port, required this.type});