deleteFriendGroup method
Implementation
Future<dynamic> deleteFriendGroup(Map<String, dynamic> params) async {
try {
print(" web deleteFriendGroup 只支持单项好友分组删除");
final formateParams = mapToJSObj({"name": params["groupNameList"][0]});
final res =
await promiseToFuture(timeWeb!.deleteFriendGroup(formateParams));
log(res);
return CommonUtils.returnSuccessForCb(null);
} catch (error) {
return CommonUtils.returnError(error);
}
}