copyWithWrapped method

WebApiModulesSettingsSpaceRateSpaceRate copyWithWrapped({
  1. Wrapped<String?>? spaceRateId,
  2. Wrapped<String?>? buildingId,
  3. Wrapped<String?>? floorId,
  4. Wrapped<String?>? spaceId,
  5. Wrapped<String?>? facilityTypeId,
  6. Wrapped<String?>? facilityType,
  7. Wrapped<String?>? spaceTypeId,
  8. Wrapped<String?>? spaceType,
  9. Wrapped<String?>? rateId,
  10. Wrapped<String?>? iCode,
  11. Wrapped<String?>? description,
  12. Wrapped<double?>? price,
  13. Wrapped<double?>? hourlyRate,
  14. Wrapped<double?>? dailyRate,
  15. Wrapped<double?>? weeklyRate,
  16. Wrapped<double?>? week2Rate,
  17. Wrapped<double?>? week3Rate,
  18. Wrapped<double?>? week4Rate,
  19. Wrapped<double?>? week5Rate,
  20. Wrapped<double?>? monthlyRate,
  21. Wrapped<bool?>? stageScheduling,
  22. Wrapped<String?>? unitId,
  23. Wrapped<String?>? spaceTypeClassification,
  24. Wrapped<int?>? orderBy,
  25. Wrapped<String?>? dateStamp,
  26. Wrapped<String?>? auditNote,
  27. Wrapped<String?>? recordTitle,
  28. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  29. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  30. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  31. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsSpaceRateSpaceRate copyWithWrapped(
    {Wrapped<String?>? spaceRateId,
    Wrapped<String?>? buildingId,
    Wrapped<String?>? floorId,
    Wrapped<String?>? spaceId,
    Wrapped<String?>? facilityTypeId,
    Wrapped<String?>? facilityType,
    Wrapped<String?>? spaceTypeId,
    Wrapped<String?>? spaceType,
    Wrapped<String?>? rateId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<double?>? price,
    Wrapped<double?>? hourlyRate,
    Wrapped<double?>? dailyRate,
    Wrapped<double?>? weeklyRate,
    Wrapped<double?>? week2Rate,
    Wrapped<double?>? week3Rate,
    Wrapped<double?>? week4Rate,
    Wrapped<double?>? week5Rate,
    Wrapped<double?>? monthlyRate,
    Wrapped<bool?>? stageScheduling,
    Wrapped<String?>? unitId,
    Wrapped<String?>? spaceTypeClassification,
    Wrapped<int?>? orderBy,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesSettingsSpaceRateSpaceRate(
      spaceRateId:
          (spaceRateId != null ? spaceRateId.value : this.spaceRateId),
      buildingId: (buildingId != null ? buildingId.value : this.buildingId),
      floorId: (floorId != null ? floorId.value : this.floorId),
      spaceId: (spaceId != null ? spaceId.value : this.spaceId),
      facilityTypeId: (facilityTypeId != null
          ? facilityTypeId.value
          : this.facilityTypeId),
      facilityType:
          (facilityType != null ? facilityType.value : this.facilityType),
      spaceTypeId:
          (spaceTypeId != null ? spaceTypeId.value : this.spaceTypeId),
      spaceType: (spaceType != null ? spaceType.value : this.spaceType),
      rateId: (rateId != null ? rateId.value : this.rateId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      price: (price != null ? price.value : this.price),
      hourlyRate: (hourlyRate != null ? hourlyRate.value : this.hourlyRate),
      dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
      weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
      week2Rate: (week2Rate != null ? week2Rate.value : this.week2Rate),
      week3Rate: (week3Rate != null ? week3Rate.value : this.week3Rate),
      week4Rate: (week4Rate != null ? week4Rate.value : this.week4Rate),
      week5Rate: (week5Rate != null ? week5Rate.value : this.week5Rate),
      monthlyRate:
          (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
      stageScheduling: (stageScheduling != null
          ? stageScheduling.value
          : this.stageScheduling),
      unitId: (unitId != null ? unitId.value : this.unitId),
      spaceTypeClassification: (spaceTypeClassification != null
          ? spaceTypeClassification.value
          : this.spaceTypeClassification),
      orderBy: (orderBy != null ? orderBy.value : this.orderBy),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}