GeolocationData.fromJson constructor
Implementation
factory GeolocationData.fromJson(Map<String, dynamic> json) {
return GeolocationData(
country: json['country'],
countryCode: json['countryCode'],
timezone: json['timezone'],
ip: json['query'],
lat: json['lat'],
lon: json['lon']);
}