onCameraInitialized method

  1. @override
Stream<CameraInitializedEvent> onCameraInitialized(
  1. int cameraId
)

The camera has been initialized.

Implementation

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