stop method
void
stop()
Stops squishing the Dough. Sets isActive to false. Informs all status listeners that the status has changed to DoughStatus.stopped. The Dough will snap back to the origin and its original shape.
A squish must already be active when calling this function.
Implementation
void stop() {
assert(isActive);
_isActive = false;
_status = DoughStatus.stopped;
notifyListeners();
_notifyStatusListeners(_status);
}