to method

Destination to({
  1. S? search,
})

Builds a destination containing only this route.

Implementation

Destination to({S? search}) => ref(search: search).destination;