mediaPlayerStop method

Future<void> mediaPlayerStop(
  1. int index
)

Implementation

Future<void> mediaPlayerStop(int index) async {
  if (_mediaPlayers[index] == null) {
    return;
  }
  return _mediaPlayers[index].instance.stop();
}