toJson method
Implementation
Map<String, dynamic> toJson() => {
if (type != null) 'type': type,
if (city != null) 'city': city,
if (region != null) 'region': region,
if (country != null) 'country': country,
if (timezone != null) 'timezone': timezone,
};