int inSeconds

Returns the number of whole seconds spanned by this Duration.

The returned value can be greater than 59.

Source

int get inSeconds => _duration ~/ Duration.MICROSECONDS_PER_SECOND;