onLatestImageAvailable typedef

onLatestImageAvailable = dynamic Function(CameraImage image)

Signature for a callback receiving the a camera image.

This is used by CameraController.startImageStream.

Implementation

// ignore: inference_failure_on_function_return_type
typedef onLatestImageAvailable = Function(CameraImage image);