@internal
(
/** The url from which this snapshot was created */
public url: string,
root: TreeNode<ActivatedRouteSnapshot>,
)
| 541 | export class RouterStateSnapshot extends Tree<ActivatedRouteSnapshot> { |
| 542 | /** @internal */ |
| 543 | constructor( |
| 544 | /** The url from which this snapshot was created */ |
| 545 | public url: string, |
| 546 | root: TreeNode<ActivatedRouteSnapshot>, |
| 547 | ) { |
| 548 | super(root); |
| 549 | setRouterState(<RouterStateSnapshot>this, root); |
| 550 | } |
| 551 | |
| 552 | override toString(): string { |
| 553 | return serializeNode(this._root); |
nothing calls this directly
no test coverage detected