currentSource property

AudioSource? get currentSource

Gets the current audio source

Implementation

AudioSource? get currentSource =>
    _sources.isNotEmpty &&
            _currentIndex >= 0 &&
            _currentIndex < _sources.length
        ? _sources[_currentIndex]
        : null;