scheduleOnceDaily static method

dynamic scheduleOnceDaily(
  1. String name,
  2. dynamic callback(), {
  3. DateTime? endAt,
})

Schedule something to happen once daily

Implementation

static scheduleOnceDaily(String name, Function() callback,
    {DateTime? endAt}) async {
  await NyScheduler.taskDaily(name, callback, endAt: endAt);
}