NiceAdminNotifications constructor

const NiceAdminNotifications({
  1. Key? key,
  2. required List<NiceAdminNotification> notifications,
  3. void onSend(
    1. NiceAdminNotification notification
    )?,
  4. void onDelete(
    1. String id
    )?,
  5. void onSchedule(
    1. NiceAdminNotification notification,
    2. DateTime schedule
    )?,
  6. List<String> channels = const ['email', 'push', 'in-app'],
  7. List<String> audiences = const ['all', 'active'],
  8. 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',
});