SpotifyEngine constructor

SpotifyEngine()

Creates a new SpotifyEngine.

Implementation

SpotifyEngine() {
  var credentials = SpotifyApiCredentials(
    ApiManager.tokens[Source.spotify]![TokenPart.id],
    ApiManager.tokens[Source.spotify]![TokenPart.se],
  );

  _spotifyEngine = SpotifyApi(credentials);
}