setIpData static method
dynamic
setIpData()
Implementation
static setIpData() async {
return;
var ipData = await HttpHelper.getJsonFromUrl("http://ip-api.com/json");
var country = ipData['countryCode'];
var ip = ipData['query'];
setAnalyticData("country", country);
setAnalyticData("ip", ip);
}