VoidCallback typedef Null safety

VoidCallback = void Function()

Implementation

typedef void VoidCallback();