onNotificationTap method

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

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

Implementation

void onNotificationTap(void Function(Map<String, dynamic> data) sink) {}