agoBy method

DateTime agoBy (Duration duration)

Returns the point in time Duration amount of time ago.

Implementation

DateTime agoBy(Duration duration) => now().subtract(duration);