Source
AudioElementSoundChannel( AudioElementSound audioElementSound, num startTime, num duration, bool loop, SoundTransform soundTransform) { if (soundTransform == null) soundTransform = new SoundTransform(); _audioElementSound = audioElementSound; _startTime = startTime.toDouble(); _duration = duration.toDouble(); _soundTransform = soundTransform; _loop = loop; audioElementSound._requestAudioElement(this).then(_onAudioElement); }