queryGenres method
Future<List<GenreModel> >
queryGenres({
- GenreSortType? sortType,
- OrderType? orderType,
- UriType? uriType,
- bool? ignoreCase,
Used to return Genres Info based in GenreModel.
Parameters:
orderType
is used to define if order will be Ascending or Descending.sortType
is used to define list sort.uriType
is used to define if songs will be catch inEXTERNAL
orINTERNAL
storage.ignoreCase
is used to define if sort will ignore the lowercase or not.
Important:
- If
orderType
is null, will be set toASC_OR_SMALLER
. - If
sortType
is null, will be set toGenreName
. - If
uriType
is null, will be set toEXTERNAL
.
Platforms:
Android | IOS | Web |
---|---|---|
✔️ |
✔️ |
✔️ |
See more about platforms support
Implementation
Future<List<GenreModel>> queryGenres({
GenreSortType? sortType,
OrderType? orderType,
UriType? uriType,
bool? ignoreCase,
}) {
throw UnimplementedError('queryGenres() has not been implemented.');
}