updateNotification method

Future<void> updateNotification({
  1. required String notificationId,
  2. String? title,
  3. String? message,
  4. String? image,
  5. List<NotificationAttachment>? attachments,
  6. List<NotificationAction>? actions,
  7. String? deepLink,
  8. NotificationStyle? style,
  9. Map<String, dynamic>? data,
  10. bool? isTemplate,
  11. DateTime? scheduledTime,
  12. String? timezone,
})

Update notification

Implementation

Future<void> updateNotification({
  required String notificationId,
  String? title,
  String? message,
  String? image,
  List<NotificationAttachment>? attachments,
  List<NotificationAction>? actions,
  String? deepLink,
  NotificationStyle? style,
  Map<String, dynamic>? data,
  bool? isTemplate,
  DateTime? scheduledTime,
  String? timezone,
}) async {
  await _platform.updateNotification(
    notificationId: notificationId,
    title: title,
    message: message,
    image: image,
    attachments: attachments,
    actions: actions,
    deepLink: deepLink,
    style: style,
    data: data,
    isTemplate: isTemplate,
    scheduledTime: scheduledTime,
    timezone: timezone,
  );
}