searchMediaItems method

Future<List<MediaItem>?> searchMediaItems(
  1. {required BuildContext context,
  2. required String searchTerm,
  3. required int pageKey}
)

This returns a list of MediaItem, and is performed to search the media source for items.

Implementation

Future<List<MediaItem>?> searchMediaItems({
  required BuildContext context,
  required String searchTerm,
  required int pageKey,
}) async {
  throw UnimplementedError();
}