fromMap static method

AddressModel fromMap(
  1. Map<String, dynamic> map
)

Implementation

static AddressModel fromMap(Map<String, dynamic> map) {
  return AddressModel(
    geolocation: GeolocationMapper.fromMap(map['geolocation']),
    city: map['city'],
    street: map['street'],
    number: map['number'],
    zipcode: map['zipcode'],
  );
}