copyWith method

WebApiModulesHomeControlsOrderItemInsertLineItemRequest copyWith({
  1. String? orderId,
  2. String? belowOrderItemId,
  3. String? primaryItemId,
})

Implementation

WebApiModulesHomeControlsOrderItemInsertLineItemRequest copyWith(
    {String? orderId, String? belowOrderItemId, String? primaryItemId}) {
  return WebApiModulesHomeControlsOrderItemInsertLineItemRequest(
      orderId: orderId ?? this.orderId,
      belowOrderItemId: belowOrderItemId ?? this.belowOrderItemId,
      primaryItemId: primaryItemId ?? this.primaryItemId);
}