setCallback method Null safety

void setCallback(
  1. dynamic value(
      )
    )

    Sets the callback function that is called when this timer is triggered.

    • value the callback function to be called.