abs property

Duration get abs

Returns the absolute non-negative value of this duration.

Implementation

Duration get abs => Duration(microseconds: inMicroseconds.abs());