EventCallback<T> typedef
EventCallback<T> =
FutureOr<void> Function(T event)
The callback of a listener subscription.
Implementation
typedef EventCallback<T> = FutureOr<void> Function(T event);
The callback of a listener subscription.
typedef EventCallback<T> = FutureOr<void> Function(T event);