WifiInfoFlutterPlatform class abstract

The interface that implementations of wifi_info_flutter must implement.

Platform implementations should extend this class rather than implement it as wifi_info_flutter 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 ConnectivityPlatform methods.

Inheritance
  • Object
  • PlatformInterface
  • WifiInfoFlutterPlatform

Constructors

WifiInfoFlutterPlatform()
Constructs a WifiInfoFlutterPlatform.

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

getLocationServiceAuthorization() Future<LocationAuthorizationStatus>
Get the current location service authorization (Only on iOS).
getWifiBSSID() Future<String?>
Obtains the wifi BSSID of the connected network.
getWifiIP() Future<String?>
Obtains the IP address of the connected wifi network
getWifiName() Future<String?>
Obtains the wifi name (SSID) of the connected network
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestLocationServiceAuthorization({bool requestAlwaysLocationUsage = false}) Future<LocationAuthorizationStatus>
Request to authorize the location service (Only on iOS).
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance WifiInfoFlutterPlatform
The default instance of WifiInfoFlutterPlatform to use.
getter/setter pair