createWebFavicon function
Start create web favicon
Implementation
void createWebFavicon({required String imagePath}) {
final image = Icon.loadFile(imagePath);
if (image == null) {
CliLogger.error('The file $imagePath could not be read.',
level: CliLoggerLevel.two);
exit(1);
}
final webFavicon = WebIconTemplate(name: 'favicon.png', size: 32);
_saveFaviconImageWeb(webFavicon, image);
CliLogger.success('Generated favicon image', level: CliLoggerLevel.two);
}