stopRecording method

Future<bool> stopRecording(
  1. String filePath
)

Stops recording and saves the recorded audio as a WAV file.

Returns true if the recording was saved successfully, false otherwise.

Implementation

Future<bool> stopRecording(String filePath) {
  return MymediaPlatform.instance.stopRecording(filePath);
}