finish method

  1. @protected
void finish()

Marks the end of the story. The demo will offer to start over.

Implementation

@protected
void finish() {
  _isFinished = true;
  _isFinishPromptPending = true;
  notifyListeners();
}