NotificationChannel constructor

NotificationChannel({
  1. required String id,
  2. required String name,
  3. String? description,
  4. bool enabled = true,
  5. bool sound = true,
  6. bool vibration = true,
  7. NotificationPriority priority = NotificationPriority.normal,
})

Implementation

NotificationChannel({
  required this.id,
  required this.name,
  this.description,
  this.enabled = true,
  this.sound = true,
  this.vibration = true,
  this.priority = NotificationPriority.normal,
});