copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryStatusResponse copyWith({
  1. double? barcodeToCount,
  2. double? barcodeCounted,
  3. double? barcodePercent,
  4. double? quantityToCount,
  5. double? quantityCounted,
  6. double? quantityPercent,
  7. double? totalToCount,
  8. double? totalCounted,
  9. double? totalPercent,
  10. String? openedOn,
  11. String? openedBy,
  12. String? approvedOn,
  13. String? approvedBy,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryStatusResponse
    copyWith(
        {double? barcodeToCount,
        double? barcodeCounted,
        double? barcodePercent,
        double? quantityToCount,
        double? quantityCounted,
        double? quantityPercent,
        double? totalToCount,
        double? totalCounted,
        double? totalPercent,
        String? openedOn,
        String? openedBy,
        String? approvedOn,
        String? approvedBy}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryStatusResponse(
      barcodeToCount: barcodeToCount ?? this.barcodeToCount,
      barcodeCounted: barcodeCounted ?? this.barcodeCounted,
      barcodePercent: barcodePercent ?? this.barcodePercent,
      quantityToCount: quantityToCount ?? this.quantityToCount,
      quantityCounted: quantityCounted ?? this.quantityCounted,
      quantityPercent: quantityPercent ?? this.quantityPercent,
      totalToCount: totalToCount ?? this.totalToCount,
      totalCounted: totalCounted ?? this.totalCounted,
      totalPercent: totalPercent ?? this.totalPercent,
      openedOn: openedOn ?? this.openedOn,
      openedBy: openedBy ?? this.openedBy,
      approvedOn: approvedOn ?? this.approvedOn,
      approvedBy: approvedBy ?? this.approvedBy);
}