generate method
Implementation
Future<void> generate({
required File iconFile,
}) async {
if (!iconFile.existsSync()) {
throw 'icon file ${iconFile.path} not found';
}
final icon = await _decoder.decodeImageFile(iconFile);
await _writeImageFromTemplates(icon, iconTemplates);
}