callback library Null safety

Properties

emptyCallback VoidCallback
An empty function that can be used in assigning default values for Callback. [...]
read-only
emptyParameterizedCallback ParameterizedVoidCallback<Object?>
An empty parameterized function that can be used in assigning default values for ParameterizedCallback. [...]
read-only

Typedefs

Callback<OUTPUT extends Object?> = OUTPUT Function()
Example: [...]
ParameterizedCallback<INPUT extends Object?, OUTPUT extends Object?> = OUTPUT Function(INPUT input)
Example: [...]
ParameterizedVoidCallback<INPUT extends Object?> = void Function(INPUT input)
Example: [...]
VoidCallback = void Function()
Example: [...]