deletePermissionGroupFromCommunity method

  1. @override
Future<V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>> deletePermissionGroupFromCommunity({
  1. required String groupID,
  2. required List<String> permissionGroupIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>> deletePermissionGroupFromCommunity({
  required String groupID,
  required List<String> permissionGroupIDList,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
    "permissionGroupIDList": permissionGroupIDList,
  };
  var resp = V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deletePermissionGroupFromCommunity",
        buildCommunityManagerParam(
          param,
        ),
      ),
    ),
  );
  log("deletePermissionGroupFromCommunity", param, resp.toLogString());
  return resp;
}