copyWithWrapped method
WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse
copyWithWrapped({})
Implementation
WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse
copyWithWrapped({
Wrapped<int?>? status,
Wrapped<bool?>? success,
Wrapped<String?>? msg,
Wrapped<List<String>?>? purchaseId,
Wrapped<List<String>?>? itemId,
Wrapped<int?>? quantityAdded,
}) {
return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionResponse(
status: (status != null ? status.value : this.status),
success: (success != null ? success.value : this.success),
msg: (msg != null ? msg.value : this.msg),
purchaseId: (purchaseId != null ? purchaseId.value : this.purchaseId),
itemId: (itemId != null ? itemId.value : this.itemId),
quantityAdded: (quantityAdded != null
? quantityAdded.value
: this.quantityAdded),
);
}