HistoryModel class

Keeps each request/response as part of client .history.

Constructors

HistoryModel({String? baseUrl, String? path, String? method, int? id, Map? request, Map? response, int? statusCode, String? statusMessage})

Properties

baseUrl String?
Base url
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
Internal request id
getter/setter pair
method String?
Method
getter/setter pair
path String?
Path component of URL
getter/setter pair
request Map?
Request body
getter/setter pair
response Map?
Response body
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
Response code
getter/setter pair
statusMessage String?
Response message
getter/setter pair
timestampEnd int?
Response timestamp on receive
getter/setter pair
timestampStart int?
Request timestamp on send
getter/setter pair

Methods

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

Operators

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