CustomProxy class

Allows you to set and enable a proxy for your app

Constructors

CustomProxy({required String ipAddress, int? port, bool allowBadCertificates = false})
Initializer

Properties

allowBadCertificates bool
Set this to true
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipAddress String
A string representing an IP address for the proxy server
final
port int?
The port number for the proxy server Can be null if port is default.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disable() → void
Disable the proxy
enable() → void
Enable the proxy
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromString({required String proxy}) CustomProxy?
Initializer from string