Data class representing the state of the UI.
The type of the data.
The current data of the UI.
An event representing an error that may have occurred.
A flag indicating whether the UI is in a loading state.