writeGenData function
write gen files
Implementation
Future<void> writeGenData(RawData rawData) async {
// Folder
writeFolder(rawData.folderPath);
// File
writeStringFile(
rawData.filePath,
rawData.fileContent,
);
// Books
for (final shelf in rawData.shelves) {
writeGenShelf(shelf);
}
}