bulkDelete method
Implementation
FutureOr<Response> bulkDelete(List<EntityModel> entities) async {
return executeFuture(
future: () async {
return await dio.post(
bulkDeletePath,
options: Options(headers: {
"content-type": 'application/json',
}),
queryParameters: {
"tenantId": DigitDataModelSingleton().tenantId,
},
data: {
EntityPlurals.getPluralForEntityName(entityName): _getMap(entities),
"apiOperation": "DELETE",
},
);
},
);
}