PushNotificationChannelConfig constructor

const PushNotificationChannelConfig({
  1. required String channelKey,
  2. required String channelName,
  3. required String channelDescription,
  4. bool criticalAlerts = true,
  5. bool onlyAlertOnce = true,
  6. bool playSound = true,
  7. bool enableVibration = true,
  8. bool locked = true,
  9. NotificationImportance importance = NotificationImportance.Max,
})

Implementation

const PushNotificationChannelConfig({
  required this.channelKey,
  required this.channelName,
  required this.channelDescription,
  this.criticalAlerts = true,
  this.onlyAlertOnce = true,
  this.playSound = true,
  this.enableVibration = true,
  this.locked = true,
  this.importance = NotificationImportance.Max,
});