pushNotificationStream property

Stream<Map<String, dynamic>> get pushNotificationStream

Listen to push notification events

Returns a Stream of push notification events

Implementation

static Stream<Map<String, dynamic>> get pushNotificationStream {
  return _eventChannel.receiveBroadcastStream().map((event) {
    return Map<String, dynamic>.from(event);
  });
}