void TickerCallback(Duration elapsed)

Signature for the onTick constructor argument of the Ticker class.

The argument is the time that the object had spent enabled so far at the time of the callback being called.

Source

typedef void TickerCallback(Duration elapsed);