Response class
This message defines attributes for a typical network response.
It generally models semantics of an HTTP response.
Constructors
Properties
- backendLatency ↔ String?
-
The amount of time it takes the backend service to fully respond to a
request.
getter/setter pair
- code ↔ String?
-
The HTTP response status code, such as
200
and404
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> ? -
The HTTP response headers.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ String?
-
The HTTP response size in bytes.
getter/setter pair
- time ↔ String?
-
The timestamp when the
destination
service sends the last byte of the response.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited