copyWithWrapped method

WebApiModulesAgentOrderCompletePoWorksheetSessionResponse copyWithWrapped({
  1. Wrapped<List<String>?>? purchaseOrderIds,
  2. Wrapped<List<String>?>? orderIds,
  3. Wrapped<int?>? status,
  4. Wrapped<bool?>? success,
  5. Wrapped<String?>? msg,
})

Implementation

WebApiModulesAgentOrderCompletePoWorksheetSessionResponse copyWithWrapped({
  Wrapped<List<String>?>? purchaseOrderIds,
  Wrapped<List<String>?>? orderIds,
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
}) {
  return WebApiModulesAgentOrderCompletePoWorksheetSessionResponse(
    purchaseOrderIds: (purchaseOrderIds != null
        ? purchaseOrderIds.value
        : this.purchaseOrderIds),
    orderIds: (orderIds != null ? orderIds.value : this.orderIds),
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
  );
}