onNotification property

(T? Function(T notification)?) onNotification
final

Callback that can modified a notification before to be dispatched to listeners.

If the result if null, then the notitication is not dispatched.

Implementation

final T? Function(T notification)? onNotification;