KnowledgeAnswers_Answer constructor

KnowledgeAnswers_Answer({
  1. String? source,
  2. String? faqQuestion,
  3. String? answer,
  4. KnowledgeAnswers_Answer_MatchConfidenceLevel? matchConfidenceLevel,
  5. 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;
}