Timing class

Timing event.

Implemented types
Annotations

Constructors

Timing({required String category, required String variable, required int timing, String? label, Set<SelfDescribingJson> contexts = const {}})
Creates a Timing event

Properties

category String
category A logical group name for variables.
final
contexts Set<SelfDescribingJson>
contexts Attached custom contexts
final
hashCode int
The hash code for this object.
no setteroverride
label String?
label Optional description of this timing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timing int
timing The number of milliseconds in elapsed time to report.
final
variable String
variable Identify the timing being recorded.
final

Methods

attach({required Set<SelfDescribingJson> contexts}) Timing
attach Attaches additional contexts to the event
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the event object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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