SoundcloudClient constructor
SoundcloudClient({
- Client? httpClient,
Creates a new SoundcloudClient with an optional httpClient.
Implementation
SoundcloudClient({Client? httpClient})
: _http = httpClient ?? Client() {
final controller = SoundcloudController(_http);
_search = SearchClient(_http, controller);
_tracks = TrackClient(_http, controller);
_playlists = PlaylistClient(_http, controller);
_users = UserClient(_http, controller);
}