cli/image_downloader/image_downloader library

Classes

ImageDownloader
A class that provides functionality to download images from a given URL and save them to a file.

Functions

downloadImage(String url, String filePath) Future<void>
Downloads an image from the given url and saves it to the specified filePath. Returns a Future that completes when the image is downloaded and saved successfully. Throws an error if there is any issue with the download process.