getIP static method

Future<String?> getIP()

Implementation

static Future<String?> getIP() async {
  final Map<String, String> htArguments = Map();
  String? sResult;
  try {
    sResult = await _channel.invokeMethod('getIP', htArguments);
  } on MissingPluginException catch (e) {
    print("MissingPluginException : ${e.toString()}");
  }
  return sResult;
}