title: Failed Push Notificatblanion Firebase - empty error message
body: <p>I receive a blank error message for Pushnotification - firebase</p>
  <p>All notification are working except push notfication. Is there any specific setup we need to enable in Firebase.</p>
  <p>I placed below most of the flutter setup that provides the pushnotication.</p>
  <pre><code>class PushNotificationsBloc
      extends Bloc&lt;PushNotificationsEvent, PushNotificationsState&gt; {
    final UserDataRepository userDataRepository;
  
    PushNotificationsBloc({this.userDataRepository})
        : super(PushNotificationsInitial());
  
    @override
    Stream&lt;PushNotificationsState&gt; mapEventToState(
      PushNotificationsEvent event,
    ) async* {
      if (event is SendNewNotification) {
        yield* mapSendNewNotificationToState(event.map);
      }
    }
  
    Stream&lt;PushNotificationsState&gt; mapSendNewNotificationToState(Map map) async* {
      yield SendNewNotificationInProgressState();
      try {
        String res = await userDataRepository.sendNewNotification(map);
        if (res != null) {
          yield SendNewNotificationCompletedState(res);
        } else {
          yield SendNewNotificationFailedState();
        }
      } catch (e) {
        print(e);
        yield SendNewNotificationFailedState();
      }
    }
  }
  
  </code></pre>
  <pre><code>@immutable
  abstract class PushNotificationsState {}
  
  class PushNotificationsInitial extends PushNotificationsState {}
  
  class SendNewNotificationCompletedState extends PushNotificationsState {
    final String res;
  
    SendNewNotificationCompletedState(this.res);
  }
  
  class SendNewNotificationFailedState extends PushNotificationsState {}
  
  class SendNewNotificationInProgressState extends PushNotificationsState {}
  </code></pre>