handleDone method

void handleDone()

Handles the done action.

This method calls the onDone callback and then calls handleUpdateUI.

Implementation

void handleDone() {
  onDone?.call();
  handleUpdateUI();
}