ArticleAnswer constructor
ArticleAnswer({})
Implementation
factory ArticleAnswer({
$core.String? title,
$core.String? uri,
$core.Iterable<$core.String>? snippets,
$core.double? confidence,
$core.Map<$core.String, $core.String>? metadata,
$core.String? answerRecord,
}) {
final _result = create();
if (title != null) {
_result.title = title;
}
if (uri != null) {
_result.uri = uri;
}
if (snippets != null) {
_result.snippets.addAll(snippets);
}
if (confidence != null) {
_result.confidence = confidence;
}
if (metadata != null) {
_result.metadata.addAll(metadata);
}
if (answerRecord != null) {
_result.answerRecord = answerRecord;
}
return _result;
}