Clock.fixed constructor Null safety
- DateTime time
Creates Clock that always considers the current time to be time
.
Implementation
Clock.fixed(DateTime time) : _time = (() => time);
Creates Clock that always considers the current time to be time
.
Clock.fixed(DateTime time) : _time = (() => time);