stockLocations method
Standorte des Betriebs (listMyStockLocations), samt aufgeloester
(active: false) und dem Hauptstandort. Recht stockView.
Eine Antwort, die sich nicht lesen laesst, endet mit
KasseneckValidationError (kind: response): die Kasse zeigt dann kein
Lager an und verkauft weiter.
Implementation
Future<List<StockLocation>> stockLocations() async {
const name = Aufrufe.listMyStockLocations;
final daten = await transport.call(name);
return lagerListe(daten, 'locations', name, (e, i) => lagerStandortLesen(name, e, i));
}