DurationExtension extension
Extension to handle parses from dart.Duration to other types
- on
Methods
-
toDetailsPageFormat(
) → String -
Available on Duration, provided by the DurationExtension extension
-
toPrettySimpleFormat(
) → String -
Available on Duration, provided by the DurationExtension extension
Parses Duration to a readable format if >= 1h -> HH:mm:ss if < 1h -> mm:ss if < 1m -> 00:ss