copyWith method

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. String? sessionId,
  5. String? inventoryId,
  6. int? quantity,
  7. String? warehouseId,
  8. String? aisleLocation,
  9. String? shelfLocation,
  10. String? manufacturerVendorId,
  11. String? manufacturerModelNumber,
  12. String? manufacturerPartNumber,
  13. String? countryId,
  14. int? warrantyDays,
  15. String? warrantyExpiration,
  16. String? purchaseVendorId,
  17. String? outsidePoNumber,
  18. DateTime? purchaseDate,
  19. DateTime? receiveDate,
  20. String? vendorPartNumber,
  21. String? currencyId,
  22. double? unitCost,
  23. String? originalShowId,
})

Implementation

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest
    copyWith(
        {int? status,
        bool? success,
        String? msg,
        String? sessionId,
        String? inventoryId,
        int? quantity,
        String? warehouseId,
        String? aisleLocation,
        String? shelfLocation,
        String? manufacturerVendorId,
        String? manufacturerModelNumber,
        String? manufacturerPartNumber,
        String? countryId,
        int? warrantyDays,
        String? warrantyExpiration,
        String? purchaseVendorId,
        String? outsidePoNumber,
        DateTime? purchaseDate,
        DateTime? receiveDate,
        String? vendorPartNumber,
        String? currencyId,
        double? unitCost,
        String? originalShowId}) {
  return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest(
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg,
      sessionId: sessionId ?? this.sessionId,
      inventoryId: inventoryId ?? this.inventoryId,
      quantity: quantity ?? this.quantity,
      warehouseId: warehouseId ?? this.warehouseId,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      manufacturerVendorId: manufacturerVendorId ?? this.manufacturerVendorId,
      manufacturerModelNumber:
          manufacturerModelNumber ?? this.manufacturerModelNumber,
      manufacturerPartNumber:
          manufacturerPartNumber ?? this.manufacturerPartNumber,
      countryId: countryId ?? this.countryId,
      warrantyDays: warrantyDays ?? this.warrantyDays,
      warrantyExpiration: warrantyExpiration ?? this.warrantyExpiration,
      purchaseVendorId: purchaseVendorId ?? this.purchaseVendorId,
      outsidePoNumber: outsidePoNumber ?? this.outsidePoNumber,
      purchaseDate: purchaseDate ?? this.purchaseDate,
      receiveDate: receiveDate ?? this.receiveDate,
      vendorPartNumber: vendorPartNumber ?? this.vendorPartNumber,
      currencyId: currencyId ?? this.currencyId,
      unitCost: unitCost ?? this.unitCost,
      originalShowId: originalShowId ?? this.originalShowId);
}