AddressModel.fromMap constructor
Implementation
factory AddressModel.fromMap(Map<String, dynamic> map) {
return AddressModel(
street: map['street'],
number: map['number'],
city: map['city'],
state: map['state'],
country: map['country'],
zipCode: map['zip_code'],
district: map['district'],
);
}