RouteState constructor

RouteState({
  1. required String path,
  2. Map<String, String>? uriParams,
  3. required Map<String, String> queryParams,
  4. required String fragment,
  5. required dynamic arguments,
})

Creates a RouteState object with all the relevant route information.

path must not be null. uriParams can be null if there are no dynamic segments. queryParams, fragment, and arguments are required.

Implementation

RouteState({
  required this.path,
  this.uriParams,
  required this.queryParams,
  required this.fragment,
  required this.arguments,
});