setLocation method
Set user location
String country_code - ISO Country code for the user's country
String city - Name of the user's city
String gpsCoordinates - comma separate lat and lng values. For example, "56.42345,123.45325"
String ipAddress - ip address
Implementation
CountlyConfig setLocation({String? countryCode, String? city, String? gpsCoordinates, String? ipAddress}) {
_locationCountryCode = countryCode;
_locationCity = city;
_locationGpsCoordinates = gpsCoordinates;
_locationIpAddress = ipAddress;
return this;
}