getClassInfo static method
课堂服务类 提供获取课堂信息等功能 通过HTTP请求与后端API交互
Implementation
static Future<TCICGetClassInfoRepModel?> getClassInfo(GetClassInfoBody body) async {
var data =
await HttpClient.post<TCICGetClassInfoRepModel, GetClassInfoBody>(
api: "/v1/class/getInfo",
body: body,
fromJson: TCICGetClassInfoRepModel.fromJson,
);
return data;
}