Address.fromJson constructor
Implementation
factory Address.fromJson(Map<String, dynamic> json) {
return Address(
tramStop: json['tram_stop'] ?? "",
road: json['road'] ?? "",
neighbourhood: json['neighbourhood'] ?? "",
city: json['city'] ?? "",
state: json['state'],
postcode: json['postcode'] ?? "",
country: json['country'] ?? "",
countryCode: json['country_code'] ?? "",
);
}