toMap static method

Map<String, dynamic> toMap(
  1. AddressModel model
)

Implementation

static Map<String, dynamic> toMap(AddressModel model) {
  return {
    'geolocation': GeolocationMapper.toMap(model.geolocation),
    'city': model.city,
    'street': model.street,
    'number': model.number,
    'zipcode': model.zipcode,
  };
}