TextEmbedderOptions.fromAssetBuffer constructor

TextEmbedderOptions.fromAssetBuffer(
  1. Uint8List assetBuffer, {
  2. EmbedderOptions embedderOptions = const EmbedderOptions(),
})

Convenience constructor that uses a model existing in memory.

Implementation

TextEmbedderOptions.fromAssetBuffer(
  Uint8List assetBuffer, {
  EmbedderOptions embedderOptions = const EmbedderOptions(),
});