DownloadClientData class

Constructors

DownloadClientData({required DateTime date_time_start, required File file, required Uri uri, required ByteStream byteStream, required Completer<bool> completer, required bool is_failed, required void onData(List<int> chunk), required FutureOr<void> onDone(DownloadClientData downloadClientData)})

Properties

byteStream ↔ ByteStream
getter/setter pair
completer Completer<bool>
getter/setter pair
date_time_start DateTime
getter/setter pair
file File
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_failed bool
getter/setter pair
onData ↔ void Function(List<int> chunk)
getter/setter pair
onDone FutureOr<void> Function(DownloadClientData downloadClientData)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream StreamSubscription<List<int>>
getter/setter pair
uri Uri
getter/setter pair

Methods

cancel() Future<void>
is_complete() bool
is_paused() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
resume() → void
toString() String
A string representation of this object.
inherited

Operators

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