Favorite State
data class FavoriteState(val type: String, val name: String, val artistID: String, val venueID: String, val isFavorite: Boolean, val isError: Boolean)
Represents the state of a favorite action in the Artist Details Page (ADP) or Venue Details Page (VDP).
Parameters
type
The type of the favorited item (e.g., artist or venue).
name
The name of the favorited item.
artist ID
The unique identifier for the artist, if applicable.
venue ID
The unique identifier for the venue, if applicable.
is Favorite
Indicates whether the item is marked as a favorite.
is Error
Indicates whether an error occurred during the favorite action.