logPushNotification method
void
logPushNotification({
- required String? title,
- required String? body,
- required String? subtitle,
- required int? badge,
- required String? category,
- required String? from,
- required String? messageId,
- required int? priority,
- required bool hasNotification,
- required bool hasData,
override
Logs a breadcrumb that indicates that the app received a push notification
Implementation
@override
void logPushNotification({
required String? title,
required String? body,
required String? subtitle,
required int? badge,
required String? category,
required String? from,
required String? messageId,
required int? priority,
required bool hasNotification,
required bool hasData,
}) {
throwIfNotStarted();
methodChannel.invokeMethod(_logPushNotificationMethodName, {
_titleArgName: title,
_bodyArgName: body,
_subtitleArgName: subtitle,
_badgeArgName: badge,
_categoryArgName: category,
_fromArgName: from,
_messageIdArgName: messageId,
_priorityArgName: priority,
_hasNotificationArgName: hasNotification,
_hasDataArgName: hasData
});
}