FirePushNotificationsProvider constructor

const FirePushNotificationsProvider({
  1. Key? key,
  2. required Widget child,
  3. FirePushNotificationsBloc? bloc,
  4. FirePushNotificationsBlocConfig? config,
})

Implementation

const FirePushNotificationsProvider({
  Key? key,
  required this.child,
  this.bloc,
  this.config,
})  : assert(
        bloc == null || config == null,
        "You cannot define 'config' and 'bloc' at the same time",
      ),
      super(key: key);