Try the above code mentioned by Mohammad if the array is not empty but you are still facing the same issue as in the issue of it not scheduling you should define the type of the notification - In my application Im using a date that is calculated from an API and so i use type: Notifications.SchedulableTriggerInputTypes.DATE
in my schedule notifications async then trigger then type now there are multiple types of notification schedulable triggers so you should experiment to see which one best fits your needs - Thanks for taking the time to read this =)