getCallback method Null safety

(dynamic Function?()?) getCallback()

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

Returns the callback function or null if it is not set.