playFromUri method Null safety

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

Play a media item represented by a Uri.

Implementation

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