Signature for the onTick constructor argument of the Ticker class.
onTick
The argument is the time that the object had spent enabled so far at the time of the callback being called.
typedef void TickerCallback(Duration elapsed);