Parameter duration could be a Duration instead an int.
plucenio opened this issue · 0 comments
plucenio commented
The parameter duration, currently an int, could be a Duration. This modification will help for different types of Duration.
/// Countdown duration in Seconds.
final int duration;
/// Countdown duration.
final Duration duration;