seconds property

Duration get seconds

Returns a Duration representing this number of seconds.

Implementation

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