KnowledgeAnswers_Answer constructor
KnowledgeAnswers_Answer({
- String? source,
- String? faqQuestion,
- String? answer,
- KnowledgeAnswers_Answer_MatchConfidenceLevel? matchConfidenceLevel,
- double? matchConfidence,
Implementation
factory KnowledgeAnswers_Answer({
$core.String? source,
$core.String? faqQuestion,
$core.String? answer,
KnowledgeAnswers_Answer_MatchConfidenceLevel? matchConfidenceLevel,
$core.double? matchConfidence,
}) {
final _result = create();
if (source != null) {
_result.source = source;
}
if (faqQuestion != null) {
_result.faqQuestion = faqQuestion;
}
if (answer != null) {
_result.answer = answer;
}
if (matchConfidenceLevel != null) {
_result.matchConfidenceLevel = matchConfidenceLevel;
}
if (matchConfidence != null) {
_result.matchConfidence = matchConfidence;
}
return _result;
}