Lodging constructor Null safety

Lodging(
  1. {Accessibility? accessibility,
  2. Activities? activities,
  3. GuestUnitFeatures? allUnits,
  4. Business? business,
  5. LivingArea? commonLivingArea,
  6. Connectivity? connectivity,
  7. Families? families,
  8. FoodAndDrink? foodAndDrink,
  9. List<GuestUnitType>? guestUnits,
  10. HealthAndSafety? healthAndSafety,
  11. Housekeeping? housekeeping,
  12. LodgingMetadata? metadata,
  13. String? name,
  14. Parking? parking,
  15. Pets? pets,
  16. Policies? policies,
  17. Pools? pools,
  18. Property? property,
  19. Services? services,
  20. GuestUnitFeatures? someUnits,
  21. Sustainability? sustainability,
  22. Transportation? transportation,
  23. Wellness? wellness}
)

Implementation

Lodging({
  this.accessibility,
  this.activities,
  this.allUnits,
  this.business,
  this.commonLivingArea,
  this.connectivity,
  this.families,
  this.foodAndDrink,
  this.guestUnits,
  this.healthAndSafety,
  this.housekeeping,
  this.metadata,
  this.name,
  this.parking,
  this.pets,
  this.policies,
  this.pools,
  this.property,
  this.services,
  this.someUnits,
  this.sustainability,
  this.transportation,
  this.wellness,
});