now top-level property

  1. @Deprecated('Use clock.now() instead.')
DateTime now

Returns the current time as reported by clock.

Implementation

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