Categories class

Endpoint of browsing the categories v1/browse/categories

Inheritance

Constructors

Categories(SpotifyApiBase api)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(String categoryId, {Market? country, String? locale}) Future<Category>
country - a country: an ISO 3166-1 alpha-2 country code. Provide this parameter to ensure that the category exists for a particular country.
getNewReleases({String? country}) Pages<AlbumSimple>
Returns the new releases.
inherited
list({Market? country, String? locale}) Pages<Category>
country - a country: an ISO 3166-1 alpha-2 country code. Provide this parameter if you want to narrow the list of returned categories to those relevant to a particular country. If omitted, the returned items will be globally relevant.
newReleases({Market? country}) Pages<AlbumSimple>
Returns the new releases.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited