IDSDownloadManager class
Public class to initiate downloads, exposing only the interface Uses a private constructor to implement the Singleton pattern, ensuring a single instance across the app.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
download(
{required String url, required dynamic success(Uint8List fileBytes), required dynamic failure(String error)}) → void -
Implements the download method defined in
IDSDownloadInterface
. Delegates the actual download logic to the private. -
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
Static Properties
- instance → IDSDownloadManager
-
The singleton instance of IDSDownloadManager used to access its functionality globally.
final