GoodsReceiptPreviewLine constructor
GoodsReceiptPreviewLine({})
Implementation
GoodsReceiptPreviewLine({
required this.articleId,
required this.quantity,
this.expiresOn,
this.batch,
this.serialNumbers = const [],
this.priceFromArticle = false,
this.baseCents,
this.landedCostCents,
this.valueCents,
this.unitCostMicros,
bool? hasValues,
}) : hasValues =
hasValues ?? (baseCents != null || landedCostCents != null || valueCents != null || unitCostMicros != null);