EventCallback<T extends EventDetails<Event>> typedef

EventCallback<T extends EventDetails<Event>> = void Function(T details)

The callback function of events.

Implementation

typedef EventCallback<T extends EventDetails> = void Function(
  T details,
);