Favorite State
constructor(type: String, name: String, artistID: String, venueID: String, isFavorite: Boolean, isError: Boolean)
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.