seconds property

Duration get seconds

Converts this number to a Duration in seconds.

Implementation

Duration get seconds => Duration(seconds: round());