AndroidNotificationChannel constructor

const AndroidNotificationChannel(
  1. String id,
  2. String name,
  3. {String? description,
  4. String? groupId,
  5. Importance importance = Importance.defaultImportance,
  6. bool playSound = true,
  7. AndroidNotificationSound? sound,
  8. bool enableVibration = true,
  9. Int64List? vibrationPattern,
  10. bool showBadge = true,
  11. bool enableLights = false,
  12. Color? ledColor}
)

Constructs an instance of AndroidNotificationChannel.

Implementation

const AndroidNotificationChannel(
  this.id,
  this.name, {
  this.description,
  this.groupId,
  this.importance = Importance.defaultImportance,
  this.playSound = true,
  this.sound,
  this.enableVibration = true,
  this.vibrationPattern,
  this.showBadge = true,
  this.enableLights = false,
  this.ledColor,
});