FavoriteState

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.

artistID

The unique identifier for the artist, if applicable.

venueID

The unique identifier for the venue, if applicable.

isFavorite

Indicates whether the item is marked as a favorite.

isError

Indicates whether an error occurred during the favorite action.