seconds property

Duration get seconds

Returns a Duration representing this double value in seconds.

Implementation

Duration get seconds => Duration(milliseconds: (this * 1000).round());