StockDTO constructor

StockDTO({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. bool? isActive,
  5. bool? isDeleted,
  6. String? stockType,
  7. String? type,
  8. String? status,
  9. bool? include,
  10. String? note,
  11. String? sku,
  12. int? quantity,
  13. String? startDate,
  14. String? endDate,
  15. String? purchaseDate,
  16. int? purchasePrice,
  17. String? purchaseCurrency,
  18. String? transactionDate,
  19. String? storeId,
  20. String? productId,
  21. String? warehouseId,
  22. String? transferId,
  23. String? supplierId,
  24. String? inStockId,
  25. String? productName,
  26. String? productBarcode,
  27. String? productSlug,
  28. String? warehouseName,
  29. String? supplierName,
  30. ProductDTO? product,
  31. SupplierDTO? supplier,
  32. WarehouseDTO? warehouse,
})

Implementation

StockDTO(
    {super.id,
    super.createdAt,
    super.updatedAt,
    super.isActive,
    super.isDeleted,
    this.stockType,
    this.type,
    this.status,
    this.include,
    this.note,
    this.sku,
    this.quantity,
    this.startDate,
    this.endDate,
    this.purchaseDate,
    this.purchasePrice,
    this.purchaseCurrency,
    this.transactionDate,
    this.storeId,
    this.productId,
    this.warehouseId,
    this.transferId,
    this.supplierId,
    this.inStockId,
    this.productName,
    this.productBarcode,
    this.productSlug,
    this.warehouseName,
    this.supplierName,
    this.product,
    this.supplier,
    this.warehouse});