MediaCapture.failure constructor

MediaCapture.failure({
  1. Exception? exception,
  2. required String filePath,
})

Implementation

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