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? urlIdentifier,
  29. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  30. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  31. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  32. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  33. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  34. Wrapped<bool?>? hasImport,
  35. Wrapped<String?>? createdByUserId,
  36. Wrapped<String?>? createdByUserName,
  37. Wrapped<String?>? createdDateTime,
  38. Wrapped<String?>? modifiedByUserId,
  39. Wrapped<String?>? modifiedByUserName,
  40. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}