Callback typedef
Callback =
void Function()
A typedef representing a callback function with no parameters or return value.
The Callback typedef defines a function signature for simple callbacks that perform actions or trigger events without requiring any parameters or return values.
Implementation
typedef Callback = void Function();