toS property

String get toS

The formatted duration string with the second as the largest unit.

Implementation

String get toS => toM + (s != 0 ? '${s}s ' : '');