copyWith method

WebApiModulesWarehouseCheckInSelectedItemRequest copyWith({
  1. int? orderTranId,
  2. String? internalChar,
  3. String? contractId,
  4. String? orderId,
  5. String? orderItemId,
  6. String? inventoryId,
  7. String? vendorId,
  8. String? description,
  9. int? quantityIn,
  10. int? quantityInRepair,
  11. int? quantity,
  12. String? assetId,
  13. String? consignorId,
  14. String? consignorAgreementId,
  15. String? repairId,
  16. String? itemClass,
  17. bool? isFixedContainer,
})

Implementation

WebApiModulesWarehouseCheckInSelectedItemRequest copyWith({
  int? orderTranId,
  String? internalChar,
  String? contractId,
  String? orderId,
  String? orderItemId,
  String? inventoryId,
  String? vendorId,
  String? description,
  int? quantityIn,
  int? quantityInRepair,
  int? quantity,
  String? assetId,
  String? consignorId,
  String? consignorAgreementId,
  String? repairId,
  String? itemClass,
  bool? isFixedContainer,
}) {
  return WebApiModulesWarehouseCheckInSelectedItemRequest(
    orderTranId: orderTranId ?? this.orderTranId,
    internalChar: internalChar ?? this.internalChar,
    contractId: contractId ?? this.contractId,
    orderId: orderId ?? this.orderId,
    orderItemId: orderItemId ?? this.orderItemId,
    inventoryId: inventoryId ?? this.inventoryId,
    vendorId: vendorId ?? this.vendorId,
    description: description ?? this.description,
    quantityIn: quantityIn ?? this.quantityIn,
    quantityInRepair: quantityInRepair ?? this.quantityInRepair,
    quantity: quantity ?? this.quantity,
    assetId: assetId ?? this.assetId,
    consignorId: consignorId ?? this.consignorId,
    consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
    repairId: repairId ?? this.repairId,
    itemClass: itemClass ?? this.itemClass,
    isFixedContainer: isFixedContainer ?? this.isFixedContainer,
  );
}