notificationArrived static method
Called when a notification arrives sends the MBMessageMetricsMetric.view
metric.
Implementation
static Future<void> notificationArrived(
Map<String, dynamic> notification,
) async {
int? messageId = _messageIdForNotification(notification);
if (messageId == null) {
return;
}
return _createPushNotificationMetric(
MBMessageMetricsMetric.view,
messageId,
);
}