FaqAnswer constructor
FaqAnswer({})
Implementation
factory FaqAnswer({
$core.String? answer,
$core.double? confidence,
$core.String? question,
$core.String? source,
$core.Map<$core.String, $core.String>? metadata,
$core.String? answerRecord,
}) {
final _result = create();
if (answer != null) {
_result.answer = answer;
}
if (confidence != null) {
_result.confidence = confidence;
}
if (question != null) {
_result.question = question;
}
if (source != null) {
_result.source = source;
}
if (metadata != null) {
_result.metadata.addAll(metadata);
}
if (answerRecord != null) {
_result.answerRecord = answerRecord;
}
return _result;
}