NoOpTimeTracker class

No-op implementation of SyncTimeTracker that does nothing.

Implemented types

Constructors

NoOpTimeTracker()

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
no setteroverride
stopTime DateTime
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
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

Static Properties

sharedInstance NoOpTimeTracker
final