FileDLResponse class
Represents a fully computed file download response.
- Inheritance
-
- Object
- PartialDLResponse
- FileDLResponse
Constructors
-
FileDLResponse({required File file, required HttpClientRequest request, required HttpClientResponse response, required Stream<
List< data, required Stream<int> >DLProgress> progress, required List<Future< onDoneFutures})void> > -
const
- FileDLResponse.fromPartialDLResponse(PartialDLResponse partialDlResponse, {required File file})
-
factory
Properties
-
data
→ Stream<
List< int> > -
finalinherited
- file → File
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onDoneFutures
→ List<
Future< void> > -
finalinherited
-
progress
→ Stream<
DLProgress> -
finalinherited
- request → HttpClientRequest
-
finalinherited
- response → HttpClientResponse
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asFuture(
) → Future< void> -
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