FetchResponse class final
What a server answered.
Constructors
- FetchResponse(int status, Uint8List body, String? etag)
-
A response with
status,bodyand theetagit gave.const
Properties
- body → Uint8List
-
The bytes; empty for a 304.
final
- etag → String?
-
The
ETagheader, when there was one.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
The HTTP status: 200, or 304 for an unchanged cached copy.
final
Methods
-
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