generateAll method
Generate the svg files for all smcat files in folderPath with a matching basename
Throws SMCatException if the file does not exist.
Implementation
Future<void> generateAll(
{required bool force, Progress progress = noOp}) async {
final files = await Directory(folderPath).list().toList();
for (final entity in files) {
// print('testing $entity');
final file = entity.path;
if (getBasename(file) == basename && p.extension(file) == '.smcat') {
await SMCatFile(file).convert(force: force, progress: progress);
}
}
}