toJson method
Converts this LocationInfo to a JSON object.
Implementation
Map<String, dynamic> toJson() => {
'country': country,
'country_code': countryCode,
'city': city,
'state': state,
'zipcode': zipcode,
'latitude': latitude,
'longitude': longitude,
'timezone': timezone,
'localtime': localtime,
};