Stocktake constructor

const Stocktake({
  1. required String id,
  2. String? name,
  3. String? locationId,
  4. StocktakeScope? scope,
  5. String? type,
  6. String? keyDate,
  7. bool blind = true,
  8. String? status,
  9. StocktakeProgress? progress,
  10. String? createdAt,
  11. StocktakeActor? createdBy,
  12. String? source,
  13. String? updatedAt,
  14. StocktakeReview? review,
  15. StocktakeClosing? closing,
  16. StocktakeCancellation? cancellation,
  17. StocktakeTotals? totals,
  18. List<StocktakeWarning>? warnings,
  19. StocktakeSeal? seal,
  20. String? checksum,
  21. String? inventoryAsOf,
  22. StocktakePdfInfo? pdf,
})

Implementation

const Stocktake({
  required this.id,
  this.name,
  this.locationId,
  this.scope,
  this.type,
  this.keyDate,
  this.blind = true,
  this.status,
  this.progress,
  this.createdAt,
  this.createdBy,
  this.source,
  this.updatedAt,
  this.review,
  this.closing,
  this.cancellation,
  this.totals,
  this.warnings,
  this.seal,
  this.checksum,
  this.inventoryAsOf,
  this.pdf,
});