SuggestFaqAnswersResponse constructor

SuggestFaqAnswersResponse({
  1. Iterable<FaqAnswer>? faqAnswers,
  2. String? latestMessage,
  3. int? contextSize,
})

Implementation

factory SuggestFaqAnswersResponse({
  $core.Iterable<FaqAnswer>? faqAnswers,
  $core.String? latestMessage,
  $core.int? contextSize,
}) {
  final _result = create();
  if (faqAnswers != null) {
    _result.faqAnswers.addAll(faqAnswers);
  }
  if (latestMessage != null) {
    _result.latestMessage = latestMessage;
  }
  if (contextSize != null) {
    _result.contextSize = contextSize;
  }
  return _result;
}