pendingNotificationRequestsCount property
The number of pending notifications.
Note that on iOS there is a limit of 64 pending notifications. See https://pub.dev/packages/flutter_local_notifications#ios-pending-notifications-limit
Implementation
@override
Future<int> get pendingNotificationRequestsCount async =>
(await FlutterLocalNotificationsPlugin().pendingNotificationRequests())
.length;