start method

  1. @override
void start({
  1. required AudioClockCallback onTick,
})
override

Starts the clock.

Implementation

@override
void start({required AudioClockCallback onTick}) {
  _stopwatch.start();
  while (_stopwatch.isRunning) {
    onTick(this);
  }
}