setTask method
Sets a new INotifiable object to receive notifications from this timer.
value
a INotifiable object to be triggered.
Implementation
void setTask(INotifiable value) {
_task = value;
_callback = () {
if (_task != null) {
_task!.notify('pip-commons-timer', Parameters());
}
};
}