onNotificationTap method

  1. @override
void onNotificationTap(
  1. void sink(
    1. Map<String, dynamic> info
    )
)
override

Register a sink for taps on notifications posted via showNotification. Receives the decoded payload map so the caller can attribute the open.

Implementation

@override
void onNotificationTap(void Function(Map<String, dynamic> data) sink) =>
    _tapSink = sink;