SpeechRecognitionModels class

Contains models for on-device speech recognition

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SpeechRecognitionModels({required List<SpeechRecognitionModel> models, Document? languageDetectionModel, Document? voiceActivityDetectionModel})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
languageDetectionModel → Document?
languageDetectionModel The file with the model for speech language detection; may be null if none
final
models → List<SpeechRecognitionModel>
models The list of models for speech recognition
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
voiceActivityDetectionModel → Document?
voiceActivityDetectionModel The file with the model for voice activity detection; may be null if none
final

Methods

copyWith({List<SpeechRecognitionModel>? models, Document? languageDetectionModel, Document? voiceActivityDetectionModel}) → SpeechRecognitionModels

Available on SpeechRecognitionModels, provided by the SpeechRecognitionModelsExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → SpeechRecognitionModels?

Constants

constructor → const String