ProxyDetails class Core

Proxy information used for HTTPS/HTTP proxy callbacks and configuration.

Instances of ProxyDetails describe proxy host, port and proxy type. Instances are usually returned by the NetworkProvider.registerOnConnectFinished when a connection is established via a proxy.

Constructors

ProxyDetails({required String name, required int port, required ProxyType type})
Create a new ProxyDetails instance.
ProxyDetails.fromJson(Map<String, dynamic> json)
Deserializes a JSON-compatible map to create an instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the proxy.
getter/setter pair
port int
The port of the proxy.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ProxyType
The type of the proxy.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this instance to a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited