currentSource property

UMediaSource? get currentSource

Implementation

UMediaSource? get currentSource => _index >= 0 && _index < _queue.length ? _queue[_index] : null;