ParameterizedVoidCallback<INPUT extends Object?> typedef Null safety

ParameterizedVoidCallback<INPUT extends Object?> = void Function(INPUT input)

Example:

final ParameterizedVoidCallback<Exception> exceptionHandler;
...
exceptionHandler(exception);

Implementation

typedef ParameterizedVoidCallback<INPUT extends Object?> = void Function(
    INPUT input);