deleteAllTtsCacheFiles method

Future<void> deleteAllTtsCacheFiles()

删除所有TTS缓存文件

Implementation

Future<void> deleteAllTtsCacheFiles() async {
  try {
    await _channel.invokeMethod('deleteAllTtsCacheFiles');
  } on PlatformException catch (e) {
    throw Exception('删除缓存失败: ${e.message}');
  }
}