copyWith method

WebApiModulesWarehouseExchangeExchangeItemStatus copyWith({
  1. String? inventoryId,
  2. String? iCode,
  3. String? availableFor,
  4. String? inventoryClass,
  5. String? description,
  6. String? warehouseId,
  7. String? warehouse,
  8. String? vendorId,
  9. String? vendor,
  10. String? purchaseOrderId,
  11. String? purchaseOrderNumber,
  12. String? consignorId,
  13. String? consignor,
})

Implementation

WebApiModulesWarehouseExchangeExchangeItemStatus copyWith(
    {String? inventoryId,
    String? iCode,
    String? availableFor,
    String? inventoryClass,
    String? description,
    String? warehouseId,
    String? warehouse,
    String? vendorId,
    String? vendor,
    String? purchaseOrderId,
    String? purchaseOrderNumber,
    String? consignorId,
    String? consignor}) {
  return WebApiModulesWarehouseExchangeExchangeItemStatus(
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      availableFor: availableFor ?? this.availableFor,
      inventoryClass: inventoryClass ?? this.inventoryClass,
      description: description ?? this.description,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
      purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor);
}