onAmplitudeChanged method
Request for amplitude at given interval.
Implementation
Stream<Amplitude> onAmplitudeChanged(Duration interval) {
_amplitudeStreamCtrl ??= StreamController<Amplitude>.broadcast();
_amplitudeTimerInterval = interval;
_startAmplitudeTimer();
return _amplitudeStreamCtrl!.stream;
}