getExternalIpAddress method

Future<String?> getExternalIpAddress()

Returns the external ip address of this router or null if it has none

Implementation

Future<String?> getExternalIpAddress() async {
  final result =
      await _wanExternalService!.invokeAction('GetExternalIPAddress', {});
  return result['NewExternalIPAddress'];
}