MethodChannelNetworkInfo class

An implementation of NetworkInfoPlatform that uses method channels.

Inheritance

Constructors

MethodChannelNetworkInfo()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWifiBroadcast() Future<String?>
Obtains the broadcast of the connected wifi network
override
getWifiBSSID() Future<String?>
Obtains the wifi BSSID of the connected network.
override
getWifiGatewayIP() Future<String?>
Obtains the gateway IP address of the connected wifi network
override
getWifiIP() Future<String?>
Obtains the IP v4 address of the connected wifi network
override
getWifiIPv6() Future<String?>
Obtains the IP v6 address of the connected wifi network
override
getWifiName() Future<String?>
Obtains the wifi name (SSID) of the connected network
override
getWifiSubmask() Future<String?>
Obtains the submask of the connected wifi network
override
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