PushNotificationBloc constructor

PushNotificationBloc()

Push notification BLoC for handling push notifications.

Implementation

PushNotificationBloc() : super(const PushNotificationInitial()) {
  on<DidReceivedNotificationEvent>(_onDidNotificationReceived);
  on<DidUserOpenedNotificationEvent>(_onDidUserOpenedNotification);
  on<DidResetNotificationEvent>(_onDidResetNotification);
}