copyWith method
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,
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);
}