ThreadCaptureState constructor

ThreadCaptureState()

Creates an instance of ThreadCaptureState.

This constructor initializes the capture state, generating a unique identifier for the capture and setting up a completer for managing captured image data.

Example:

ThreadCaptureState captureState = ThreadCaptureState();

Implementation

ThreadCaptureState() {
  completer = Completer();
  id = generateUniqueId();
}