resetDemo method

void resetDemo()

Reset demo.

Implementation

void resetDemo() {
  repository.reset();
  selectedId = repository.records.first.id;
  draft = null;
  section = NmCommandSetSection.commands;
  _ensureCommandSelection();
  notifyListeners();
}