setCredentials method

void setCredentials({
  1. required String clientId,
  2. required String clientSecret,
})

Sets the Spotify ClientID and ClientSecret for API interaction

These can be created at https://developer.spotify.com/dashboard

Implementation

void setCredentials(
    {required String clientId, required String clientSecret}) {
  this._clientId = clientId;
  this._clientSecret = clientSecret;
}