getWifiGatewayIP method
Returns the current Wi-Fi gateway IP address.
Implementation
Future<String?> getWifiGatewayIP() async {
try {
return await _networkInfo.getWifiGatewayIP();
} on PlatformException catch (e) {
throw PlatformException(
code: 'Failed to get Wifi Gateway ip address',
message: e.message,
details: e.details);
}
}