scheduleOnceAfterDate static method

dynamic scheduleOnceAfterDate(
  1. String name,
  2. dynamic callback(), {
  3. required DateTime date,
})

Schedule something to happen once after a date

Implementation

static scheduleOnceAfterDate(String name, Function() callback,
    {required DateTime date}) async {
  await NyScheduler.taskOnceAfterDate(name, callback, date: date);
}