search method Null safety

Future<List<MediaItem>> search(
  1. String query,
  2. [Map<String, dynamic>? extras]
)

Search for media items.

Implementation

Future<List<MediaItem>> search(String query, [Map<String, dynamic>? extras]);