SearchSuggestSessionSuggestListener constructor
SearchSuggestSessionSuggestListener({
- required void onResponse(
- SuggestResponse suggest
- required void onError(
- Error error
Implementation
factory SearchSuggestSessionSuggestListener(
{required void Function(search_suggest_response.SuggestResponse suggest)
onResponse,
required void Function(runtime_error.Error error) onError}) {
return SearchSuggestSessionSuggestListenerImpl(
onResponse: onResponse,
onError: onError,
);
}