copyWithWrapped method

WebApiModulesAgentOrderChangeOrderStatusRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? newStatus,
})

Implementation

WebApiModulesAgentOrderChangeOrderStatusRequest copyWithWrapped(
    {Wrapped<String?>? orderId, Wrapped<String?>? newStatus}) {
  return WebApiModulesAgentOrderChangeOrderStatusRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      newStatus: (newStatus != null ? newStatus.value : this.newStatus));
}