setDuration method

void setDuration(
  1. int value
)

Implementation

void setDuration(int value) {
  onNotifyWithCallback(() => duration = value);
}