EventHandler<T extends EventArgs> typedef
EventHandler<T extends EventArgs> =
void Function(T? args)
Defines the function (callback) signature of an Event handler. It is a function that takes an argument of type EventArgs, or one derived from it.
See also EventArgs.
Implementation
typedef EventHandler<T extends EventArgs> = void Function(T? args);