VideoRecordedEvent constructor

const VideoRecordedEvent(
  1. int cameraId,
  2. XFile file,
  3. Duration? maxVideoDuration
)

Build a VideoRecordedEvent triggered from the camera with the cameraId.

The file represents the file of the video. The maxVideoDuration shows if a maxVideoDuration shows if a maximum video duration was set.

Implementation

const VideoRecordedEvent(super.cameraId, this.file, this.maxVideoDuration);