RoutingResult<T> constructor

RoutingResult<T>(
  1. {ParseResult<RouteResult> parseResult,
  2. Map<String, dynamic> params: const {},
  3. Iterable<RoutingResult<T>> nested,
  4. Route<T> shallowRoute,
  5. Router<T> shallowRouter,
  6. @required String tail}
)

Implementation

RoutingResult(
    {this.parseResult,
    Map<String, dynamic> params = const {},
    this.nested,
    this.shallowRoute,
    this.shallowRouter,
    @required this.tail}) {
  this.params.addAll(params ?? {});
}