MediaCapture.failure constructor

MediaCapture.failure({
  1. Exception? exception,
  2. required CaptureRequest captureRequest,
})

Implementation

MediaCapture.failure({
  this.exception,
  required this.captureRequest,
})  : status = MediaCaptureStatus.failure,
      videoState = VideoState.error;