receivedPushStream property

  1. @override
Stream<ReceivedPush> receivedPushStream

A stream of received push notifications. Called for both regular and silent push notifications on Android, and silent notifications only on iOS. The SDK will hold last data until you set the listener. Don't forget to call cancel on the subscription when no longer listening.

Implementation

@override
Stream<ReceivedPush> get receivedPushStream => _platform.receivedPushStream;