play method
Play current loaded audio Update configuration (volume and loopMode)
Implementation
Future<void> play() async {
await _player.setLoopMode(loopMode);
await _player.setVolume(volume);
await _player.play();
}
Play current loaded audio Update configuration (volume and loopMode)
Future<void> play() async {
await _player.setLoopMode(loopMode);
await _player.setVolume(volume);
await _player.play();
}