started method

dynamic started(
  1. Duration time,
  2. double value
)

Called when task starts

Implementation

started(Duration time, double value) {
  startedTime = time;
  startedValue = value;
  if (onStart != null) onStart();
}