clear method

void clear()

Clears all profiles and resets index.

Implementation

void clear() {
  _profiles.clear();
  _currentProfileIndex = 0;
}