stopRecordingAndTranslation method

Future<void> stopRecordingAndTranslation()

停止录音或翻译

Implementation

Future<void> stopRecordingAndTranslation() async {
  try {
    await _channel.invokeMethod('stopRecordingAndTranslation');
  } on PlatformException catch (e) {
    throw Exception('停止失败: ${e.message}');
  }
}