The object DirectSum is a wrapper type, with ancestor classes AssociativeExpression < Expression < BasicList < Thing.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/doc12.m2:252:0.