isInventoryWarningCode function

bool isInventoryWarningCode(
  1. String? code
)

true fuer einen Hinweis-Code einer Buchung (StockOperation.warnings[].code). Hinweise sind nie Fehler: die Buchung hat gewirkt.

Implementation

bool isInventoryWarningCode(String? code) => code != null && _hinweise.contains(code);