How to fetch the Additional Data from OneSignal

How to fetch the Additional Data from OneSignal

  

Hi,

I am using OneSignl Plugin & Want to fetch some Additional Data from Notification Server that comes in Key-Value Pair, In order to redirect the screen to a particular one based on this Key-Value.

I am using OneSignalOnNotificationOpened Action & trying to redirect things there.

I also got the log in NotificationOpenedResult.Notification.Payload.RawPayload, And notice the Additional Data is coming under the custom key, How could I get the key-value from it.


Thanks,

Assif