VoidCallback typedef Null safety

void VoidCallback ()

Signature of callbacks that have no arguments and return no data.

Implementation

typedef VoidCallback = void Function();