PlayerEventHandler<TEvent extends PlayerEvent> typedef Null safety

void PlayerEventHandler<TEvent>(
  1. TEvent event
)

Handles a player event.

Implementation

typedef PlayerEventHandler<TEvent extends PlayerEvent> = void Function(
    TEvent event);