FakeHttpMetric class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpResponseCode ↔ int?
-
HttpResponse code of the request.
getter/setter pairoverride
- requestPayloadSize ↔ int?
-
Size of the request payload.
getter/setter pairoverride
- responseContentType ↔ String?
-
Content type of the response such as text/html, application/json, etc...
getter/setter pairoverride
- responsePayloadSize ↔ int?
-
Size of the response payload.
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAttribute(
String name) → String? -
Returns the value of an attribute.
override
-
getAttributes(
) → Map< String, String> -
All attributes added.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putAttribute(
String name, String value) → void -
Sets a String
value
for the specified attribute withname
.override -
removeAttribute(
String name) → void -
Removes an already added attribute.
override
-
start(
) → Future< void> -
Starts this
HttpMetric
.override -
stop(
) → Future< void> -
Stops this
HttpMetric
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited