fromNow method

Duration fromNow()

Calculates the time span between this and the current moment.

Implementation

Duration fromNow() => difference(now());