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

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