stop method

void stop()

Stops the observer from storing events.

Implementation

void stop() {
  listening = false;
}