pendingNotificationRequestsCount property

  1. @override
Future<int> pendingNotificationRequestsCount
override

The number of pending

Note that on iOS there is a limit of 64 pending See https://pub.dev/packages/flutter_local_notifications#ios-pending-notifications-limit

Implementation

@override
Future<int> get pendingNotificationRequestsCount async =>
    (await FlutterLocalNotificationsPlugin().pendingNotificationRequests())
        .length;