dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  _recorder!.closeAudioSession();
  _recorder = null;
  super.dispose();
}