AMapNotificationForAndroid constructor

AMapNotificationForAndroid({
  1. required int notificationId,
  2. required String title,
  3. required String content,
  4. required String channelId,
  5. required String channelName,
  6. String? description,
  7. bool enableLights = false,
  8. bool showBadge = false,
  9. Color lightColor = Colors.blue,
  10. LockscreenVisibility lockscreenVisibility = LockscreenVisibility.private,
  11. NotificationImportance importance = NotificationImportance.none,
})

Implementation

AMapNotificationForAndroid({
  required this.notificationId,
  required this.title,
  required this.content,
  required this.channelId,
  required this.channelName,
  this.description,
  this.enableLights = false,
  this.showBadge = false,
  this.lightColor = Colors.blue,
  this.lockscreenVisibility = LockscreenVisibility.private,
  this.importance = NotificationImportance.none,
}) : assert(notificationId != 0);