playFromMediaId method Null safety

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

Play a specific media item.

Implementation

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