AMapNotificationForAndroid constructor
AMapNotificationForAndroid({
- required int notificationId,
- required String title,
- required String content,
- required String channelId,
- required String channelName,
- String? description,
- bool enableLights = false,
- bool showBadge = false,
- Color lightColor = Colors.blue,
- LockscreenVisibility lockscreenVisibility = LockscreenVisibility.private,
- 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);