queryAudiosFrom method
Future<List<SongModel> >
queryAudiosFrom(
- AudiosFromType type,
- Object where, {
- SongSortType? sortType,
- OrderType? orderType,
- bool? ignoreCase,
Used to return Songs/Audios Info from a specific queryType based in SongModel.
Parameters:
type
is used to define where audio will be query.where
is used to query audios from specific method.orderType
is used to define if order will be Ascending or Descending.sortType
is used to define list sort.ignoreCase
is used to define if sort will ignore the lowercase or not.
Platforms:
Android | IOS | Web |
---|---|---|
✔️ |
✔️ |
✔️ |
See more about platforms support
Implementation
Future<List<SongModel>> queryAudiosFrom(
AudiosFromType type,
Object where, {
SongSortType? sortType,
OrderType? orderType,
bool? ignoreCase,
}) async {
return platform.queryAudiosFrom(
type,
where,
sortType: sortType,
orderType: orderType,
ignoreCase: ignoreCase,
);
}