DVHttpResponse class
Constructors
-
DVHttpResponse({required int statusCode, required String body, List<
int> ? bytes, DVHttpProtocol? protocol, List<DVEarlyHints> earlyHints = const <DVEarlyHints>[]}) -
const
Properties
- body → String
-
final
-
bodyBytes
→ List<
int> -
The raw response body. Falls back to encoding body when the transport
only captured text, so binary-aware callers work with either.
no setter
- data → Object?
-
The body decoded as JSON, or the text when it is not JSON.
no setter
-
earlyHints
→ List<
DVEarlyHints> -
Early hints received before this response, in arrival order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
no setter
- protocol → DVHttpProtocol?
-
The protocol the response actually arrived over.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
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