textTaskBackendFactory top-level property
Future<TextTaskBackend> Function(String task, Map<String, Object?> options)?
textTaskBackendFactory
getter/setter pair
Creates Google's task (text_classifier, text_embedder or
language_detector) from options named as in Google's JavaScript API,
plus modelBytes (a Uint8List) or modelPath (a URL).
Installed by this package's web code in browsers; null where the package runs Google's runtime itself.
Implementation
Future<TextTaskBackend> Function(String task, Map<String, Object?> options)?
textTaskBackendFactory;