logSelectItem static method
Select Item event. This event signifies that an item was selected by a user from a list. Use the appropriate parameters to contextualize the event. Use this event to discover the most popular items selected.
item
: the item identifier
Implementation
static Future<void> logSelectItem({required String item}) {
return logEvent(name: 'select_item', params: {
'item': item,
});
}