ImpactGetIP function
Implementation
Future<void> ImpactGetIP() async {
String ipAddress;
try {
var I = await Ipify.ipv64(format: Format.JSON);
ImpactIP = jsonDecode(I)["ip"].toString();
} on PlatformException {
ipAddress = 'Failed to get ipAddress.';
}
}