getPendingScheduledNotifications method

  1. @override
Future<List<int>> getPendingScheduledNotifications()
override

Returns the ids of notifications that are scheduled but not yet delivered.

Implementation

@override
Future<List<int>> getPendingScheduledNotifications() async {
  final result = await methodChannel.invokeListMethod<int>(
    'getPendingScheduledNotifications',
  );
  return result ?? [];
}