sectionCount property

int get sectionCount

The total number of heading-delimited sections across all docs.

Implementation

int get sectionCount => docs.fold(0, (sum, doc) => sum + doc.sections.length);