writeGenBook function
write gen files
Implementation
Future<void> writeGenBook(RawBook rawBook) async {
// Folder
writeFolder(rawBook.folderPath);
// File
writeStringFile(
rawBook.filePath,
rawBook.fileContent,
);
// Pages
for (final page in rawBook.pages) {
await writeGenPage(page);
}
}