dispose method

void dispose()

Cancels the audio stream and calls dispose on the native code handler.

Implementation

void dispose() async {
  if (_audioStream != null) {
    await _audioStream?.cancel();
    _audioStream = null;
  }
  _augnitoMicStream.dispose();
}