DLResponse class
Represents a fully computed download response.
- Inheritance
-
- Object
- PartialDLResponse
- DLResponse
Constructors
-
DLResponse({required HttpClientRequest request, required HttpClientResponse response, required Stream<
List< data, required Stream<int> >DLProgress> progress, required List<Future< onDoneFutures})void> > -
const
- DLResponse.fromPartialDLResponse(PartialDLResponse partialDlResponse)
-
factory
Properties
-
data
→ Stream<
List< int> > -
finalinherited
- 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