HttpProfileRequest class Null safety
Profiling information for a single HTTP request, including request and response body data.
- Inheritance
- Object
- HttpProfileRequestRef
- HttpProfileRequest
Constructors
- HttpProfileRequest({required int id, required String isolateId, required String method, required Uri uri, required int startTime, required Uint8List? requestBody, required Uint8List? responseBody, int? endTime, HttpProfileRequestData? request, HttpProfileResponseData? response})
Properties
- endTime → int?
-
The time at which this request was completed, in microseconds. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id → int
-
The ID associated with this request. [...]
final, inherited
- isolateId → String
-
final, inherited
- isRequestComplete → bool
-
Returns
true
if the initial HTTP request has completed.read-only, inherited - isResponseComplete → bool
-
Returns
true
if the entirety of the response has been received.read-only, inherited - method → String
-
The HTTP request method associated with this request.
final, inherited
- request → HttpProfileRequestData?
-
Information sent as part of the initial HTTP request. [...]
final, inherited
- requestBody → Uint8List?
-
The body sent as part of this request. [...]
final
- response → HttpProfileResponseData?
-
Information received in response to the initial HTTP request. [...]
final, inherited
- responseBody → Uint8List?
-
The body received in response to the request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startTime → int
-
The time at which this request was initiated, in microseconds.
final, inherited
- uri → Uri
-
The URI for this HTTP request.
final, inherited
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) → HttpProfileRequest? -
override