SystemNetworkProxyPlatform class abstract
The interface that implementations of system_network_proxy must implement.
Platform implementations should extend this class rather than implement it as system_network_proxy
does not consider newly added methods to be breaking changes. Extending this class
(using extends
) ensures that the subclass will get the default implementation, while
platform implementations that implements
this interface will be broken by newly added
SystemNetworkProxyPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- SystemNetworkProxyPlatform
- Implementers
Constructors
- SystemNetworkProxyPlatform()
- Constructs a SystemNetworkProxyPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getProxyEnable(
) → Future< bool> -
Returns
true
if this platform is able to getProxyEnable. -
getProxyServer(
) → Future< String> -
Returns
true
if this platform is able to getProxyServer. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProxyEnable(
bool proxyEnable) → Future< bool> -
Returns
true
if this platform is able to setProxyEnableproxyEnable
. -
setProxyServer(
String proxyServer) → Future< bool> -
Returns
true
if this platform is able to setProxyServerproxyServer
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SystemNetworkProxyPlatform
-
The default instance of SystemNetworkProxyPlatform to use.
getter/setter pair