setTranslate static method
设置翻译参数 用于配置翻译服务的相关参数 通过HTTP请求与翻译API交互
Implementation
static Future<TCICSetTranslateTextRepModel?> setTranslate(SetTranslateTextBody body) async {
var data = await HttpClient.post<TCICSetTranslateTextRepModel, SetTranslateTextBody>(
api: "/v1/record/setTranslate",
body: body,
fromJson: TCICSetTranslateTextRepModel.fromJson,
);
return data;
}