NotificationChannelSettings constructor

const NotificationChannelSettings({
  1. required String channelId,
  2. required String channelName,
  3. String? description,
  4. bool isEnabled = true,
  5. bool allowSound = true,
  6. bool allowVibration = true,
  7. bool allowLights = true,
  8. String? soundPath,
  9. List<int>? vibrationPattern,
})

Creates notification channel settings.

Implementation

const NotificationChannelSettings({
  required this.channelId,
  required this.channelName,
  this.description,
  this.isEnabled = true,
  this.allowSound = true,
  this.allowVibration = true,
  this.allowLights = true,
  this.soundPath,
  this.vibrationPattern,
});