FakeTrace class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
getMetric(
String name) → int -
Gets the value of the metric with the given
name
.override -
incrementMetric(
String name, int value) → void -
Increments the metric with the given
name
.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
-
setMetric(
String name, int value) → void -
Sets the
value
of the metric with the givenname
.override -
start(
) → Future< void> -
Starts this
Trace
.override -
stop(
) → Future< void> -
Stops this
Trace
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited