dispose method

void dispose()

Disposes of this camera and all other resources.

After running this, the camera should need to be opened again.

Implementation

void dispose() {
  stop();
  statusTimer?.cancel();
}