Suggestion constructor
Suggestion({
- String? name,
- Iterable<
Suggestion_Article> ? articles, - Iterable<
Suggestion_FaqAnswer> ? faqAnswers, - Timestamp? createTime,
- String? latestMessage,
Implementation
factory Suggestion({
$core.String? name,
$core.Iterable<Suggestion_Article>? articles,
$core.Iterable<Suggestion_FaqAnswer>? faqAnswers,
$17.Timestamp? createTime,
$core.String? latestMessage,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (articles != null) {
_result.articles.addAll(articles);
}
if (faqAnswers != null) {
_result.faqAnswers.addAll(faqAnswers);
}
if (createTime != null) {
_result.createTime = createTime;
}
if (latestMessage != null) {
_result.latestMessage = latestMessage;
}
return _result;
}