NotificationChannelData constructor
NotificationChannelData({
- required String id,
- required String name,
- String? description,
- String? groupId,
- NotificationImportanceEnum importance = NotificationImportanceEnum.defaultImportance,
- bool playSound = true,
- String? soundPath,
- bool enableVibration = true,
- bool enableLights = false,
- Int64List? vibrationPattern,
- Color? ledColor,
- bool showBadge = true,
- 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});