Address.fromMap constructor
Implementation
factory Address.fromMap(Map<String, dynamic> map) {
return Address(
highway: map['highway'] ?? '',
road: map['road'] ?? '',
city: map['city'] ?? '',
stateDistrict: map['state_district'] ?? '',
state: map['state'] ?? '',
postcode: map['postcode'] ?? '',
country: map['country'] ?? '',
countryCode: map['country_code'] ?? '',
);
}