stop method

Future<Map<String, dynamic>> stop()

platform call to stop recording

Implementation

Future<Map<String, dynamic>> stop() async {
  Map<Object?, Object?> audioInfo =
      await _methodChannel.invokeMethod(Constants.stopRecording);
  return audioInfo.cast<String, dynamic>();
}