jsSetUrlStrategy top-level property Null safety

_JsSetUrlStrategy jsSetUrlStrategy
@JS('_flutter_web_set_location_strategy')

A JavaScript hook to customize the URL strategy of a Flutter app.

Implementation

//
// Keep this in sync with the JS name in the web engine. Find it at:
// https://github.com/flutter/engine/blob/custom_location_strategy/lib/web_ui/lib/src/engine/navigation/js_url_strategy.dart
//
// TODO(mdebbar): Add integration test https://github.com/flutter/flutter/issues/66852
@JS('_flutter_web_set_location_strategy')
external _JsSetUrlStrategy get jsSetUrlStrategy;