setUrlStrategy function Null safety

void setUrlStrategy(
  1. UrlStrategy? strategy
)

Change the strategy to use for handling browser URL.

Setting this to null disables all integration with the browser history.

Implementation

void setUrlStrategy(UrlStrategy? strategy) {
  // No-op in non-web platforms.
}