StopWatchClock mixin
Mixin to expose duration based functionality
- Superclass constraints
- Mixin applications
Properties
Methods
-
duration(
) → Duration - The current Duration since the timer was started
-
durationMicros(
) → int - The current number of microseconds since the timer was started
-
durationMillis(
) → int - The current number of milliseconds since the timer was started
-
durationNanos(
) → int - The current number of nanoseconds since the timer was started
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
now(
) → DateTime -
The current DateTime
inherited
-
nowMicros(
) → int -
The current number of microseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
inherited
-
nowMillis(
) → int -
The current number of milliseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
inherited
-
nowNanos(
) → int -
The current number of nanoseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
inherited
-
start(
) → void -
Start the clock
calling any now before the clock is started will throw an exception!
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited