logSelectContent method
Logs the standard select_content
event.
This general purpose event signifies that a user has selected some content of a certain type in an app. The content can be any object in your app. This event can help you identify popular content and categories of content in your app.
Implementation
Future<void> logSelectContent({
required String contentType,
required String itemId,
Map<String, Object>? parameters,
}) {
_assertParameterTypesAreCorrect(parameters);
return _delegate.logEvent(
name: 'select_content',
parameters: filterOutNulls(<String, Object?>{
_CONTENT_TYPE: contentType,
_ITEM_ID: itemId,
if (parameters != null) ...parameters,
}),
);
}