ImageDownloader class

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

Constructors

ImageDownloader.new(String name, String url, String filePath)
Constructs an ImageDownloader with the given name, url, and filePath. It immediately starts downloading the image using the provided URL and saves it to the specified file path.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited