copyWithWrapped method

WebApiModulesAgentOrderItemAddAListOfItemsRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? itemList,
  3. Wrapped<String?>? itemType,
  4. Wrapped<String?>? recType,
})

Implementation

WebApiModulesAgentOrderItemAddAListOfItemsRequest copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? itemList,
  Wrapped<String?>? itemType,
  Wrapped<String?>? recType,
}) {
  return WebApiModulesAgentOrderItemAddAListOfItemsRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    itemList: (itemList != null ? itemList.value : this.itemList),
    itemType: (itemType != null ? itemType.value : this.itemType),
    recType: (recType != null ? recType.value : this.recType),
  );
}