prepareFromMediaId method Null safety

Future<void> prepareFromMediaId(
  1. String mediaId,
  2. [Map<String, dynamic>? extras]
)

Prepare a specific media item for playback.

Implementation

Future<void> prepareFromMediaId(String mediaId,
    [Map<String, dynamic>? extras]);