toEntity static method

Address toEntity(
  1. AddressModel model
)

Implementation

static Address toEntity(AddressModel model) {
  return Address(
    geolocation: GeolocationMapper.toEntity(model.geolocation),
    city: model.city,
    street: model.street,
    number: model.number,
    zipcode: model.zipcode,
  );
}