EventCallback<T> typedef

EventCallback<T> = void Function(T event)

The type for event callbacks.

Implementation

typedef EventCallback<T> = void Function(T event);