copyWith method
WebApiModulesInventoryInventoryRetireInventoryRequest
copyWith(
{ - String? inventoryId,
- String? warehouseId,
- String? itemId,
- String? retiredReasonId,
- String? notes,
- double? quantity,
- bool? changeICode,
- String? consignorId,
- String? consignorAgreementId,
- bool? completeRepair,
- String? completeRepairId,
})
Implementation
WebApiModulesInventoryInventoryRetireInventoryRequest copyWith({
String? inventoryId,
String? warehouseId,
String? itemId,
String? retiredReasonId,
String? notes,
double? quantity,
bool? changeICode,
String? consignorId,
String? consignorAgreementId,
bool? completeRepair,
String? completeRepairId,
}) {
return WebApiModulesInventoryInventoryRetireInventoryRequest(
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
itemId: itemId ?? this.itemId,
retiredReasonId: retiredReasonId ?? this.retiredReasonId,
notes: notes ?? this.notes,
quantity: quantity ?? this.quantity,
changeICode: changeICode ?? this.changeICode,
consignorId: consignorId ?? this.consignorId,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
completeRepair: completeRepair ?? this.completeRepair,
completeRepairId: completeRepairId ?? this.completeRepairId,
);
}