prepareFromUri method Null safety

Future<void> prepareFromUri(
  1. Uri uri,
  2. [Map<String, dynamic>? extras]
)

Prepare a media item represented by a Uri for playback.

Implementation

Future<void> prepareFromUri(Uri uri, [Map<String, dynamic>? extras]);