setAudioTrackVolume method
Sets the volume (0..2) of the track with id.
Implementation
void setAudioTrackVolume(String id, double volume) {
final index = audioTracks.indexWhere((a) => a.id == id);
if (index == -1) return;
updateAudioVolume(index, volume);
}