Address.fromMap constructor
Implementation
factory Address.fromMap(Map<String, dynamic> map) {
return Address(
street: map['street'] ?? '',
building: map['building'] ?? '',
citySubdivision: map['citySubdivision'] ?? '',
city: map['city'] ?? '',
postalZone: map['postalZone'] ?? '',
countryCode: map['countryCode'] ?? 'SA',
);
}