copyWith method

WebApiModulesSettingsFacilitySettingsBuildingBuilding copyWith({
  1. String? buildingId,
  2. String? building,
  3. String? buildingCode,
  4. String? officeLocationId,
  5. String? officeLocation,
  6. bool? inactive,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. 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);
}