NetworkInfoImpl class
Provides Wi-Fi and network metadata through network_info_plus.
Constructors
- NetworkInfoImpl()
- Creates a network-info manager backed by the platform implementation.
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
-
checkPermission(
) → Future< LocationPermissionStatus> -
Returns the raw location permission status reported by the platform.
override
-
getLocationStatus(
) → Future< String> -
Returns whether location services are ready, disabled, or denied.
override
-
getNetworkInfo(
) → Future< InvokableNetworkInfo> -
Returns the available Wi-Fi metadata as an invokable Ensemble payload.
override
-
getWifiBroadcast(
) → Future< String?> - Returns the current Wi-Fi broadcast address.
-
getWifiBSSID(
) → Future< String?> - Returns the current Wi-Fi BSSID when the platform exposes it.
-
getWifiGatewayIP(
) → Future< String?> - Returns the current Wi-Fi gateway IP address.
-
getWifiIPv4(
) → Future< String?> - Returns the current Wi-Fi IPv4 address.
-
getWifiIPv6(
) → Future< String?> - Returns the current Wi-Fi IPv6 address.
-
getWifiName(
) → Future< String?> - Returns the current Wi-Fi network name.
-
getWifiSubmask(
) → Future< String?> - Returns the current Wi-Fi subnet mask.
-
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