Data class representing an action that can be performed from a Snackbar.
The lambda function to be executed when the action button is clicked.
The text to display for the action button.