NetworkInfo class
Discover network info: check WI-FI details and more.
Constructors
- NetworkInfo()
-
Constructs a singleton instance of NetworkInfo.
factory
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
-
getWifiBroadcast(
) → Future< String?> - Obtains the broadcast of the connected wifi network
-
getWifiBSSID(
) → Future< String?> - Obtains the wifi BSSID of the connected network.
-
getWifiGatewayIP(
) → Future< String?> - Obtains the gateway IP address of the connected wifi network
-
getWifiIP(
) → Future< String?> - Obtains the IPv4 address of the connected wifi network
-
getWifiIPv6(
) → Future< String?> - Obtains the IPv6 address of the connected wifi network
-
getWifiName(
) → Future< String?> - Obtains the wifi name (SSID) of the connected network
-
getWifiSubmask(
) → Future< String?> - Obtains the submask of the connected wifi network
-
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