MediaCapture.failure constructor
MediaCapture.failure({
- Exception? exception,
- required CaptureRequest captureRequest,
Implementation
MediaCapture.failure({
this.exception,
required this.captureRequest,
}) : status = MediaCaptureStatus.failure,
videoState = VideoState.error;