logShare method
Logs the standard share
event.
Apps with social features can log the Share event to identify the most viral content.
Implementation
Future<void> logShare({
required String contentType,
required String itemId,
required String method,
}) {
return logEvent(
name: 'share',
parameters: filterOutNulls(<String, Object?>{
_CONTENT_TYPE: contentType,
_ITEM_ID: itemId,
_METHOD: method,
}),
);
}