SyncTimeTracker class

Tracks only sync actions

Implemented types
Implementers

Constructors

SyncTimeTracker()

Properties

duration Duration
The total duration of this operation, equivalent to taking the difference between stopTime and startTime.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isFinished bool
Whether tracking is finished.
no setteroverride
isStarted bool
Whether tracking was started.
no setteroverride
isTracking bool
Whether tracking is active.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
When this operation started, call _start to set this.
no setteroverride
stopTime DateTime
When this operation stopped, call _stop to set this.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON representation
override
toString() String
A string representation of this object.
inherited
track<T>(T action()) → T
override

Operators

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