Flutter: How to get the hotspot IP of the device connected to the phone?

Viewed 25

I created a hotspot on my phone, then there was a connected device on my phone. How do I get the IP of the device?

This code success, but i want to get Hotspot IP. This code get IP WiFi.

final info = NetworkInfo();
var hostAddress = await info.getWifiIP();
0 Answers
Related