DurationExtension extension
Methods
-
format({bool withHours = false, bool withMilliseconds = false, int hoursDigits = 1, int minutesDigits = 1, int secondsDigits = 2, int millisecondsDigits = 1})
→ String
-
Creates a string representation of the Duration in next format
MM:SS, so the value will be like "01:23'.