iterateStocktakes method
Alle Inventuren der Abfrage, Seite fuer Seite, in der Reihenfolge von listStocktakes.
Implementation
Stream<Stocktake> iterateStocktakes({
String? status,
String? locationId,
DateTime? updatedSince,
int? limit,
String? cursor,
}) =>
_seitenweise(Aufrufe.listStocktakes, cursor, (c) async {
final s = await listStocktakes(
status: status, locationId: locationId, updatedSince: updatedSince, limit: limit, cursor: c);
return (eintraege: s.stocktakes, nextCursor: s.nextCursor);
});