copyWith method
WebApiModulesSettingsFacilitySettingsBuildingBuilding
copyWith({
- String? buildingId,
- String? building,
- String? buildingCode,
- String? officeLocationId,
- String? officeLocation,
- bool? inactive,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsFacilitySettingsBuildingBuilding copyWith(
{String? buildingId,
String? building,
String? buildingCode,
String? officeLocationId,
String? officeLocation,
bool? inactive,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsFacilitySettingsBuildingBuilding(
buildingId: buildingId ?? this.buildingId,
building: building ?? this.building,
buildingCode: buildingCode ?? this.buildingCode,
officeLocationId: officeLocationId ?? this.officeLocationId,
officeLocation: officeLocation ?? this.officeLocation,
inactive: inactive ?? this.inactive,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}