createAllCalibre method
Implementation
@action
Future<int> createAllCalibre(List<CalibreWeebi> data) async {
for (final calibre in data) {
await _createCalibreServer(calibre);
}
// if sending data goes wrong we do not persist in queue but stop the action
await _articlesService.createAllCalibreRpc.request(data);
calibresFull.addAll(data);
_calibres.addAll(data);
return data.length;
}