SuggestionResult constructor
SuggestionResult({
- Status? error,
- SuggestArticlesResponse? suggestArticlesResponse,
- SuggestFaqAnswersResponse? suggestFaqAnswersResponse,
Implementation
factory SuggestionResult({
$20.Status? error,
SuggestArticlesResponse? suggestArticlesResponse,
SuggestFaqAnswersResponse? suggestFaqAnswersResponse,
}) {
final _result = create();
if (error != null) {
_result.error = error;
}
if (suggestArticlesResponse != null) {
_result.suggestArticlesResponse = suggestArticlesResponse;
}
if (suggestFaqAnswersResponse != null) {
_result.suggestFaqAnswersResponse = suggestFaqAnswersResponse;
}
return _result;
}