FirePushNotificationsProvider constructor
const
FirePushNotificationsProvider({
- Key? key,
- required Widget child,
- FirePushNotificationsBloc? bloc,
- 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);