CameraEvent constructor

const CameraEvent(
  1. int cameraId
)

Build a Camera Event, that relates a cameraId.

The cameraId is the ID of the camera that triggered the event.

Implementation

const CameraEvent(this.cameraId);