copyWith method

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

Implementation

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