queryAudios method Null safety

  1. @Deprecated("Use [querySongs] instead")
Future<List<SongModel>> queryAudios(
  1. [SongSortType? sortType,
  2. OrderType? orderType,
  3. UriType? uriType,
  4. String? path]
)
@Deprecated("Use [querySongs] instead")

Deprecated after 2.0.0.

Implementation

@Deprecated("Use [querySongs] instead")
Future<List<SongModel>> queryAudios([
  SongSortType? sortType,
  OrderType? orderType,
  UriType? uriType,
  String? path,
]) async {
  return await querySongs(
    sortType: sortType,
    orderType: orderType,
    uriType: uriType,
  );
}