How do I open a specific page on onesignal notification click on flutter?

I am creating an application through the API data request. I would like the single post that is initialized with the wordpress data to open when the notification is clicked. How do I pass this data when opening the single post by clicking the notification? Thanks.