setTask method Null safety

void setTask(
  1. INotifiable value
)

Sets a new INotifiable object to receive notifications from this timer.

  • value a INotifiable object to be triggered.