seconds property

int get seconds

The number of seconds in the duration (0-59).

Implementation

int get seconds =>
    (totalMicroseconds.abs() ~/ Duration.microsecondsPerSecond) % 60;