Source
@override num get position { if (_paused || _stopped) { return _position; } else { var currentTime = WebAudioApiMixer.audioContext.currentTime; var position = currentTime - _timeOffset; var duration = _duration; return _loop ? position % duration : position.clamp(0.0, duration); } }