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