stopRecording method

Future<bool> stopRecording()

停止录像

Implementation

Future<bool> stopRecording() async {
  try {
    return await _channel.invokeMethod('stopRecording');
  } catch (e) {
    print('Error stopping recording: $e');
    return false;
  }
}