getCallback method
Gets the callback function that is called when this timer is triggered.
Returns the callback function or null if it is not set.
Implementation
Function()? getCallback() {
return _callback;
}
Gets the callback function that is called when this timer is triggered.
Returns the callback function or null if it is not set.
Function()? getCallback() {
return _callback;
}