$FaqAnswer class Null safety

Used by:

  • dialogflow:v2 : GoogleCloudDialogflowV2FaqAnswer
  • dialogflow:v2 : GoogleCloudDialogflowV2beta1FaqAnswer
  • dialogflow:v3 : GoogleCloudDialogflowV2FaqAnswer
  • dialogflow:v3 : GoogleCloudDialogflowV2beta1FaqAnswer


$FaqAnswer({String? answer, String? answerRecord, double? confidence, Map<String, String>? metadata, String? question, String? source})
$FaqAnswer.fromJson(Map _json)


answer String?
The piece of text from the source knowledge base document.
read / write
answerRecord String?
The name of answer record, in the format of "projects//locations//answerRecords/"
read / write
confidence double?
The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
metadata Map<String, String>?
A map that contains metadata about the answer and the document from which it originates.
read / write
question String?
The corresponding FAQ question.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source String?
Indicates which Knowledge Document this answer was extracted from. [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]