When there are buttons in the notification they are accessible through callbacks.
For every button there would be an object in the callback notification data object.
And also when a button is clicked, it's id and text will be passes separately in onNotificationButtonClicked callback.
Notification data class as an interface between native callback data classes and Flutter dart code.
When a notification event happens (like Receive), callbacks will hold instances of this class.