events property

A broadcast Stream of every FlushbarRemoteEvent received from the FlushKit server.

Subscribe here when you need to react to events beyond the default Flushbar display — for example, to persist a notification history or update application state.

FlushbarRemote.events.listen((event) {
  print('Received: ${event.message}');
});

Implementation

static Stream<FlushbarRemoteEvent> get events => _eventController.stream;