toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return {
    'ip': ip,
    'city': city,
    'countryLong': countryLong,
    'countryShort': countryShort,
    'latitude': latitude,
    'longitude': longitude,
    'region': region,
    'timeZone': timeZone,
    'zipCode': zipCode,
  };
}