Constructs a new ToggleFavouriteMutation instance.
OptionalauthToken: string
The authentication token.
toggleFavourite is a method that sends a mutation request to toggle a favourite.
An object of type ToggleFavouriteVariables representing the variables for the mutation.
A Promise that resolves to the response from the mutation request.
ToggleFavouriteMutationis a class that contains the method to toggle a favourite. It includes a method to toggle a favourite.See
https://docs.anilist.co/reference/mutation