toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "country": this.country,
    "countryCode": this.countryCode,
    "timezone": this.timezone,
    "ip": this.ip,
    "lat": this.lat,
    "lon": this.lon
  };
}