clear method

void clear()

Clears the playlist

Implementation

void clear() {
  _updateSources([]);
  _currentIndex = -1;
  _notifyIndexChanged();
}