getWifiIPv6 method

Future<String?> getWifiIPv6()

Returns the current Wi-Fi IPv6 address.

Implementation

Future<String?> getWifiIPv6() async {
  try {
    return await _networkInfo.getWifiIPv6();
  } on PlatformException catch (e) {
    throw PlatformException(
        code: 'Failed to get Wifi IPv6 address',
        message: e.message,
        details: e.details);
  }
}