secondsPart property

int get secondsPart

Returns the absolute seconds component of the duration (0-59).

Implementation

int get secondsPart => (inSeconds % 60).abs();