setCurrentDuration method
Implementation
void setCurrentDuration(Duration duration) {
// Set duration from constructor
_currentDuration = duration;
}
void setCurrentDuration(Duration duration) {
// Set duration from constructor
_currentDuration = duration;
}