PassioSpeechRecognitionModel class
Represents a speech recognition model.
This class contains details about the recognized speech action, associated food information, date of recognition, and meal time.
Constructors
- PassioSpeechRecognitionModel({PassioLogAction? action, required PassioAdvisorFoodInfo advisorInfo, required String date, PassioMealTime? mealTime})
-
Creates a new instance of
PassioSpeechRecognitionModel
.const -
PassioSpeechRecognitionModel.fromJson(Map<
String, dynamic> json) -
Creates a
PassioSpeechRecognitionModel
instance from a JSON map.factory
Properties
- action → PassioLogAction?
-
The action associated with the speech recognition.
final
- advisorInfo → PassioAdvisorFoodInfo
-
Detailed information about the recognized food item.
final
- date → String
-
The date associated with the recognized speech.
final
- hashCode → int
-
Calculates the hash code for this
PassioSpeechRecognitionModel
object.no setteroverride - mealTime → PassioMealTime?
-
The meal time associated with the recognized speech.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
PassioSpeechRecognitionModel
instance to a JSON map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Compares two
PassioSpeechRecognitionModel
objects for equality.override