Loading files
abstract class IClock {
DateTime now();
DateTime utcNow();
}
final class DefaultClock implements IClock {
@override
DateTime now() => DateTime.now();
@override
DateTime utcNow() => DateTime.timestamp();
}
8c2908ee5This file is pinned to the selected release. Download the original to open it in your design tool.