logViewItemList method
Future<void>
logViewItemList({
- List<
AnalyticsEventItem> ? items, - String? itemListId,
- String? itemListName,
- Map<
String, Object> ? parameters,
inherited
Logs the standard view_item_list
event.
Log this event when the user has been presented with a list of items of a certain category.
Implementation
Future<void> logViewItemList({
List<AnalyticsEventItem>? items,
String? itemListId,
String? itemListName,
Map<String, Object>? parameters,
}) {
_assertParameterTypesAreCorrect(parameters);
_assertItemsParameterTypesAreCorrect(items);
return _delegate.logEvent(
name: 'view_item_list',
parameters: filterOutNulls(<String, Object?>{
_ITEMS: _marshalItems(items),
_ITEM_LIST_ID: itemListId,
_ITEM_LIST_NAME: itemListName,
if (parameters != null) ...parameters,
}),
);
}