LanguageDetectorOptions.fromAssetBuffer constructor

LanguageDetectorOptions.fromAssetBuffer(
  1. Uint8List assetBuffer, {
  2. ClassifierOptions classifierOptions = const ClassifierOptions(),
})

Convenience constructor that uses a model existing in memory.

Implementation

LanguageDetectorOptions.fromAssetBuffer(
  Uint8List assetBuffer, {
  ClassifierOptions classifierOptions = const ClassifierOptions(),
});