players property

Map<String, AudioPlayer> players
final

Reference Map with all the players created by the application.

This is used to exchange messages with the MethodChannel (because there is only one channel for all players).

Implementation

static final players = <String, AudioPlayer>{};