DownloadClientData class

GeneralLib

Constructors

DownloadClientData.new({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)})
GeneralLib

Properties

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

Methods

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

Operators

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