stop method

void stop()

Cancels all timers and stops reading the camera.

Implementation

void stop() {
  sendLog(LogLevel.debug, "Stopping camera $name");
  frameTimer?.cancel();
  fpsTimer?.cancel();
}