logViewSearchResults method
Logs the standard view_search_results
event.
Log this event when the user has been presented with the results of a search.
Implementation
Future<void> logViewSearchResults({
required String searchTerm,
Map<String, Object?>? parameters,
}) {
_assertParameterTypesAreCorrect(parameters);
return _delegate.logEvent(
name: 'view_search_results',
parameters: filterOutNulls(<String, Object?>{
_SEARCH_TERM: searchTerm,
if (parameters != null) ...parameters,
}),
);
}