copyWith method
Implementation
WebApiModulesInventoryInventoryRetireInventoryRequest copyWith(
{String? inventoryId,
String? warehouseId,
String? itemId,
String? retiredReasonId,
String? notes,
double? quantity,
bool? changeICode,
String? consignorId,
String? consignorAgreementId}) {
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);
}