clock top-level property

Clock clock

The default implementation of clock for the current Zone.

This defaults to the system clock. It can be set within a zone using withClock.

Implementation

Clock get clock => Zone.current[_clockKey] ?? const Clock();