NiceAdminNotifications constructor
const
NiceAdminNotifications({ - Key? key,
- required List<NiceAdminNotification> notifications,
- void onSend(
- NiceAdminNotification notification
)?,
- void onDelete(
- String id
)?,
- void onSchedule(
- NiceAdminNotification notification,
- DateTime schedule
)?,
- List<String> channels = const ['email', 'push', 'in-app'],
- List<String> audiences = const ['all', 'active'],
- String title = 'Notifications',
})
Implementation
const NiceAdminNotifications({
super.key,
required this.notifications,
this.onSend,
this.onDelete,
this.onSchedule,
this.channels = const ['email', 'push', 'in-app'],
this.audiences = const ['all', 'active'],
this.title = 'Notifications',
});