discontinuedPackage flutter_gemma has been discontinued and replaced by flutter_edge_ai.
core/litert/litert_embedding_worker
library
Classes
-
EmbeddingWorker
-
Main-isolate handle to the embedding worker. Spawns the isolate, performs
the load handshake, and multiplexes concurrent requests by id.
Enums
-
EmbeddingBackend
-
Backend selector mirrored across the isolate boundary as a plain int
(the
PreferredBackend enum lives in pigeon-generated code; we map it to
the LiteRT HW accelerator bit in the worker).