getWifiIP method

  1. @override
Future<String?> getWifiIP()
override

Obtains the IP v4 address of the connected wifi network

Implementation

@override
Future<String?> getWifiIP() {
  return _getConnectionValue(
    (connection) async => _getIpAddress(connection?.ip4Config?.addressData),
  );
}