VisionBackendFactory<R, O> typedef

VisionBackendFactory<R, O> = Future<VisionTaskBackend<R>> Function(O options)

Creates a task's backend from its options. Installed by a platform plugin before the first task is created; null where the package runs Google's native runtime itself.

Implementation

typedef VisionBackendFactory<R, O> =
    Future<VisionTaskBackend<R>> Function(O options);