onCameraError method

  1. @override
Stream<CameraErrorEvent> onCameraError(
  1. int cameraId
)

The camera experienced an error.

Implementation

@override
Stream<CameraErrorEvent> onCameraError(int cameraId) {
  return _cameraEvents(cameraId).whereType<CameraErrorEvent>();
}