removeListener method

void removeListener (
  1. {FftCallback fftCallback,
  2. WaveformCallback waveformCallback}
)

Implementation

void removeListener({
  FftCallback fftCallback,
  WaveformCallback waveformCallback,
}) {
  if (null != fftCallback) {
    _fftCallbacks.remove(fftCallback);
  }
  if (null != waveformCallback) {
    _waveformCallbacks.remove(waveformCallback);
  }
}