Section<T> constructor
const
Section<T> ({})
Implementation
const Section({required this.title, this.subSections, this.entries})
: assert(
subSections == null || entries == null,
'Section cannot have both subSections and entries',
),
assert(
subSections != null || entries != null,
'Section must have either subSections or entries',
);