handleReset method

void handleReset()

Handles the reset event.

This method calls the onReset callback and then calls handleUpdateUI.

Implementation

void handleReset() {
  onReset?.call();
  handleUpdateUI();
}