getLocalIP static method
Implementation
static Future<String> getLocalIP() async {
// For Now only Android is supported
if (Platform.isAndroid) {
final String localIP = await _channel.invokeMethod('getLocalIP');
return localIP;
} else {
return "Platform not supported";
}
}