copyWith method

WebApiModulesAgentOrderChangeOrderStatusRequest copyWith({
  1. String? orderId,
  2. String? newStatus,
})

Implementation

WebApiModulesAgentOrderChangeOrderStatusRequest copyWith({
  String? orderId,
  String? newStatus,
}) {
  return WebApiModulesAgentOrderChangeOrderStatusRequest(
    orderId: orderId ?? this.orderId,
    newStatus: newStatus ?? this.newStatus,
  );
}