SystemClock class

The real monotonic clock. Every instance reads one process-wide stopwatch, so instants from any of them compare.

Implemented types

Constructors

SystemClock()
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
now() → Duration
The current instant.
override
timer(Duration duration, void callback()) → Timer
A timer that fires callback once duration has passed on this clock.
override
toString() → String
A string representation of this object.
inherited

Operators

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