clock property Null safety
The current time.
In the automated test environment (flutter test
), this is a fake clock
that begins in January 2015 at the start of the test and advances each
time pump is called with a non-zero duration.
In the live testing environment (flutter run
), this object shows the
actual current wall-clock time.
Implementation
Clock get clock;