NotificationChannelData constructor

NotificationChannelData({
  1. required String id,
  2. required String name,
  3. String? description,
  4. String? groupId,
  5. NotificationImportanceEnum importance = NotificationImportanceEnum.defaultImportance,
  6. bool playSound = true,
  7. String? soundPath,
  8. bool enableVibration = true,
  9. bool enableLights = false,
  10. Int64List? vibrationPattern,
  11. Color? ledColor,
  12. bool showBadge = true,
  13. NotificationPriorityEnum priority = NotificationPriorityEnum.defaultPriority,
})

Implementation

NotificationChannelData(
    {required this.id,
    required this.name,
    this.description,
    this.groupId,
    this.importance = NotificationImportanceEnum.defaultImportance,
    this.playSound = true,
    this.soundPath,
    this.enableVibration = true,
    this.enableLights = false,
    this.vibrationPattern,
    this.ledColor,
    this.showBadge = true,
    this.priority = NotificationPriorityEnum.defaultPriority});