getClassMessage static method

获取课堂消息 用于获取课堂中的消息记录 通过HTTP请求与后端API交互

Implementation

static Future<TCICGetClassMessageRepModel?> getClassMessage(GetClassMessageBody body) async {
  var data = await HttpClient.post<TCICGetClassMessageRepModel, GetClassMessageBody>(
    api: "/v1/record/getClassMessage",
    body: body,
    fromJson: TCICGetClassMessageRepModel.fromJson,
  );

  return data;
}