JsUrlStrategy constructor Null safety

JsUrlStrategy(
  1. {@required _PathGetter getPath,
  2. @required _StateGetter getState,
  3. @required _AddPopStateListener addPopStateListener,
  4. @required _StringToString prepareExternalUrl,
  5. @required _StateOperation pushState,
  6. @required _StateOperation replaceState,
  7. @required _HistoryMove go}
)

Creates an instance of JsUrlStrategy from a bag of URL strategy functions.

Implementation

external factory JsUrlStrategy({
  @required _PathGetter getPath,
  @required _StateGetter getState,
  @required _AddPopStateListener addPopStateListener,
  @required _StringToString prepareExternalUrl,
  @required _StateOperation pushState,
  @required _StateOperation replaceState,
  @required _HistoryMove go,
});