queryAlbums method
Future<List<AlbumModel> >
queryAlbums({
- AlbumSortType? sortType,
- OrderType? orderType,
- UriType? uriType,
- bool? ignoreCase,
Used to return Albums Info based in AlbumModel.
Parameters:
orderTypeis used to define if order will be Ascending or Descending.sortTypeis used to define list sort.uriTypeis used to define if songs will be catch inEXTERNALorINTERNALstorage.ignoreCaseis used to define if sort will ignore the lowercase or not.
Important:
- If
orderTypeis null, will be set toASC_OR_SMALLER. - If
sortTypeis null, will be set toAlbumName. - If
uriTypeis null, will be set toEXTERNAL. - If
ignoreCaseis null, will be set totrue.
Platforms:
| Android | IOS | Web |
|---|---|---|
✔️ |
✔️ |
✔️ |
See more about platforms support
Implementation
Future<List<AlbumModel>> queryAlbums({
AlbumSortType? sortType,
OrderType? orderType,
UriType? uriType,
bool? ignoreCase,
}) {
throw UnimplementedError('queryAlbums() has not been implemented.');
}