listScheduledNotifications method

  1. @override
Future<List<NotificationModel>> listScheduledNotifications()
override

Lists all active scheduled notifications.

This method returns a Future that resolves to a list of NotificationModel objects representing all active scheduled notifications. If there are no active scheduled notifications, the list will be empty.

This method can be used to get a list of all scheduled notifications in order to display them to the user or to cancel them programmatically.

Implementation

@override
Future<List<NotificationModel>> listScheduledNotifications() {
  return AwesomeNotificationsPlatform.instance.listScheduledNotifications();
}