HttpProfileResponseData class Null safety

Information received in response to an initial HTTP request.

Constructors

HttpProfileResponseData({required int startTime, int? endTime, required Map<String, dynamic> headers, required String compressionState, required Map<String, dynamic>? connectionInfo, required int contentLength, required List<String> cookies, required bool isRedirect, required bool persistentConnection, required String reasonPhrase, required List<Map<String, dynamic>> redirects, required int statusCode, String? error})

Properties

compressionState String
The compression state of the response.
final
connectionInfo Map<String, dynamic>?
Information about the client connection.
final
contentLength int
Returns the content length of the response body.
final
cookies List<String>
Cookies set by the server (from the 'set-cookie' header).
final
endTime int?
The time at which the response was completed, in microseconds.
final
error String?
The error associated with the failed response.
final
hasError bool
read-only
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, dynamic>
Returns the client response headers.
final
isComplete bool
read-only
isRedirect bool
Returns whether the status code is one of the normal redirect codes.
final
persistentConnection bool
The persistent connection state returned by the server.
final
reasonPhrase String
Returns the reason phrase associated with the status code.
final
redirects List<Map<String, dynamic>>
Returns the series of redirects this connection has been through.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
startTime int
The time at which the initial response was received, in microseconds.
final
statusCode int
Returns the status code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(Map<String, dynamic>? json) HttpProfileResponseData?