topTracks method
Get the current user's top tracks, spanning over a timeRange
.
The timeRange
's default is TimeRange.mediumTerm.
Implementation
Pages<Track> topTracks({TimeRange timeRange = TimeRange.mediumTerm}) =>
_top(_TopItemsType.tracks, (item) => Track.fromJson(item), timeRange);