stop method

  1. @override
Future<void> stop(
  1. String playerId
)

Stops the audio that is currently playing.

The position is going to be reset and you will no longer be able to resume from the last point.

Implementation

@override
Future<void> stop(String playerId) async {
  getPlayer(playerId).stop();
}