Parameters class

Constructors

Parameters({required String address, String? broadcastAddress, String? mtu, required List<String> exclusionList, required List<String> inclusionList, List<String>? domainSearch, required List<String> dnsServers, String? reconnect})
Parameters.fromJS(Parameters _wrapped)

Properties

address String
IP address for the VPN interface in CIDR notation. IPv4 is currently the only supported mode.
getter/setter pair
broadcastAddress String?
Broadcast address for the VPN interface. (default: deduced from IP address and mask)
getter/setter pair
dnsServers List<String>
A list of IPs for the DNS servers.
getter/setter pair
domainSearch List<String>?
A list of search domains. (default: no search domain)
getter/setter pair
exclusionList List<String>
Exclude network traffic to the list of IP blocks in CIDR notation from the tunnel. This can be used to bypass traffic to and from the VPN server. When many rules match a destination, the rule with the longest matching prefix wins. Entries that correspond to the same CIDR block are treated as duplicates. Such duplicates in the collated (exclusionList + inclusionList) list are eliminated and the exact duplicate entry that will be eliminated is undefined.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inclusionList List<String>
Include network traffic to the list of IP blocks in CIDR notation to the tunnel. This parameter can be used to set up a split tunnel. By default no traffic is directed to the tunnel. Adding the entry "0.0.0.0/0" to this list gets all the user traffic redirected to the tunnel. When many rules match a destination, the rule with the longest matching prefix wins. Entries that correspond to the same CIDR block are treated as duplicates. Such duplicates in the collated (exclusionList + inclusionList) list are eliminated and the exact duplicate entry that will be eliminated is undefined.
getter/setter pair
mtu String?
MTU setting for the VPN interface. (default: 1500 bytes)
getter/setter pair
reconnect String?
Whether or not the VPN extension implements auto-reconnection.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS → Parameters
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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