RouteState constructor
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,
});