previous method

bool previous()

Moves to the previous track in the playlist

Returns true if successful, false if at the beginning of the playlist

Implementation

bool previous() {
  if (_sources.isEmpty || _currentIndex <= 0) {
    return false;
  }

  _currentIndex--;
  _notifyIndexChanged();
  return true;
}