now top-level property Null safety

DateTime now
Deprecated('Use clock.now() instead.')">@Deprecated('Use clock.now() instead.')

Returns the current time as reported by clock.

Implementation

@Deprecated('Use clock.now() instead.')
DateTime get now => clock.now();