on<T extends WorldEvent> method
- void callback(
- Event<
T>
- Event<
Implementation
void on<T extends WorldEvent>(void Function(Event<T>) callback) =>
event<T>().listen(callback);
void on<T extends WorldEvent>(void Function(Event<T>) callback) =>
event<T>().listen(callback);