logSelectItem method
Future<void>
logSelectItem({
- String? itemListId,
- String? itemListName,
- List<
AnalyticsEventItem> ? items, - Map<
String, Object> ? parameters, - AnalyticsCallOptions? callOptions,
inherited
Logs the standard select_item
event.
This event signifies that an item was selected by a user from a list.
Implementation
Future<void> logSelectItem({
String? itemListId,
String? itemListName,
List<AnalyticsEventItem>? items,
Map<String, Object>? parameters,
AnalyticsCallOptions? callOptions,
}) {
_assertParameterTypesAreCorrect(parameters);
_assertItemsParameterTypesAreCorrect(items);
return _delegate.logEvent(
name: 'select_item',
parameters: filterOutNulls(<String, Object?>{
_ITEM_LIST_ID: itemListId,
_ITEM_LIST_NAME: itemListName,
_ITEMS: _marshalItems(items),
if (parameters != null) ...parameters,
}),
callOptions: callOptions,
);
}