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();