muteAll static method

课堂禁音 用于对课堂所有成员进行音频静音操作 通过HTTP请求与后端API交互

Implementation

static Future<TCICMuteAllRepModel?> muteAll(MuteAllBody body) async {
  var data = await HttpClient.post<TCICMuteAllRepModel, MuteAllBody>(
    api: "/v1/class/muteAll",
    body: body,
    fromJson: TCICMuteAllRepModel.fromJson,
  );

  return data;
}