ParameterizedVoidCallback<INPUT extends Object?> typedef

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);