PassioAdvisorResponse class

Represents the response from the Passio Advisor.

Constructors

PassioAdvisorResponse({List<PassioAdvisorFoodInfo>? extractedIngredients, required String markupContent, required String messageId, required String rawContent, required String threadId, List<String>? tools})
Constructs a PassioAdvisorResponse instance.
const
PassioAdvisorResponse.fromJson(Map<String, dynamic> json)
Creates a PassioAdvisorResponse instance from a JSON object.
factory

Properties

extractedIngredients List<PassioAdvisorFoodInfo>?
A list of extracted food ingredients.
final
hashCode int
Overrides the hashCode method.
no setteroverride
markupContent String
The markup content of the response.
final
messageId String
The unique identifier for the message.
final
rawContent String
The raw content of the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threadId String
The unique identifier for the thread.
final
tools List<String>?
A list of tools used or referenced in the response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the PassioAdvisorResponse instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Overrides the equality operator.
override