ROTA PARAMAMAP Subscribe Angular 9

this.route.paramMap.subscribe((params: ParamMap) => console.log(params.get('id')));
Jeff Le