reportUser static method
user 신고하기
Implementation
static Future<CommonResultModel> reportUser({
required String roomId, //채널 키
required String buserChatId, // 차단유저 채팅ID
required String buserNick, // 차단유저 닉네임
required String buserMsg, // 차단유저 메세지
}) async {
var uri = ApiPath.reportUser.addPostParam({
'room_id': roomId,
'buser_chat_id': buserChatId,
'buser_nick': buserNick,
'buser_msg': buserMsg,
});
var response = await post(uri);
return CommonResultModel.fromJson(json.decode(response.body));
}