How can i pass multiple variables from one component to another using service in angular 9?

Enable Notifications    OK No thanks