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