onNotificationTap property

  1. @override
Stream<Map<String, dynamic>> get onNotificationTap
override

Emits notification payloads when the user taps a notification (background/tap event).

Implementation

@override
Stream<Map<String, dynamic>> get onNotificationTap {
  _notificationTapStream ??= _notificationTapEventChannel
      .receiveBroadcastStream()
      .map<Map<String, dynamic>>((event) => Map<String, dynamic>.from(event));
  return _notificationTapStream!;
}