Response class Null safety
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.
read / write
- code ↔ String?
-
The HTTP response status code, such as
200
and404
.read / write - hashCode → int
-
The hash code for this object.
read-onlyinherited
-
headers
↔ Map<
String, String> ? -
The HTTP response headers.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- size ↔ String?
-
The HTTP response size in bytes.
read / write
- time ↔ String?
-
The timestamp when the
destination
service sends the last byte of the response.read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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