appendParagraphs static method
Implementation
static Future<void> appendParagraphs(EpubChapter chapter) async {
await Future.forEach(chapter.SubChapters as Iterable<EpubChapter>,
(EpubChapter subChapter) async {
var chapter = EpubChapter();
chapter.Paragraphs.addAll(subChapter.Paragraphs);
});
}