DownloadJobController class
Constructors
- DownloadJobController({required String id})
- DownloadJobController.fromPlatform({required PlatformDownloadJobController platform})
- Constructs a DownloadJobController from a specific platform implementation.
- DownloadJobController.fromPlatformCreationParams({required PlatformDownloadJobControllerCreationParams params})
- Constructs a DownloadJobController.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- onComplete ↔ DownloadJobCompletionHandler?
-
getter/setter pair
- onProgressChanged ↔ DownloadJobProgressHandler?
-
getter/setter pair
- platform → PlatformDownloadJobController
-
Implementation of PlatformDownloadJobController for the current platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → Future< void> - Officially Supported Platforms/Implementations:
-
dispose(
) → void - Officially Supported Platforms/Implementations:
-
getInfo(
) → Future< DownloadJobInfo?> - Officially Supported Platforms/Implementations:
-
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 Methods
-
isClassSupported(
{TargetPlatform? platform}) → bool -
isMethodSupported(
PlatformDownloadJobControllerMethod method, {TargetPlatform? platform}) → bool