seconds property

Duration get seconds

Returns a Duration representing this number in seconds.

Implementation

Duration get seconds => Duration(microseconds: (this * 1000 * 1000).toInt());