copyWithWrapped method

WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWithWrapped({
  1. Wrapped<String?>? departmentId,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? department,
  4. Wrapped<String?>? location,
  5. Wrapped<String?>? defaultOrderTypeId,
  6. Wrapped<String?>? defaultOrderType,
  7. Wrapped<bool?>? inactive,
  8. Wrapped<String?>? auditNote,
  9. Wrapped<String?>? recordTitle,
  10. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  11. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  12. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWithWrapped(
    {Wrapped<String?>? departmentId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? department,
    Wrapped<String?>? location,
    Wrapped<String?>? defaultOrderTypeId,
    Wrapped<String?>? defaultOrderType,
    Wrapped<bool?>? inactive,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
        defaultFieldAttributes}) {
  return WebApiModulesSettingsDepartmentLocationDepartmentLocation(
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      department: (department != null ? department.value : this.department),
      location: (location != null ? location.value : this.location),
      defaultOrderTypeId: (defaultOrderTypeId != null
          ? defaultOrderTypeId.value
          : this.defaultOrderTypeId),
      defaultOrderType: (defaultOrderType != null
          ? defaultOrderType.value
          : this.defaultOrderType),
      inactive: (inactive != null ? inactive.value : this.inactive),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes));
}