copyWithWrapped method

Implementation

WebApiModulesAdministratorSystemAccessDepartmentAccessDepartmentAccess
    copyWithWrapped(
        {Wrapped<String?>? departmentId,
        Wrapped<String?>? department,
        Wrapped<String?>? departmentCode,
        Wrapped<String?>? divisionId,
        Wrapped<String?>? dateStamp,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesAdministratorSystemAccessDepartmentAccessDepartmentAccess(
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      department: (department != null ? department.value : this.department),
      departmentCode: (departmentCode != null
          ? departmentCode.value
          : this.departmentCode),
      divisionId: (divisionId != null ? divisionId.value : this.divisionId),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      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),
      translation:
          (translation != null ? translation.value : this.translation));
}