publish<T> method
/ Publish an event with strict type checking
Implementation
void publish<T>(String event, T data) {
tBE.validateEvent<T>(event);
final controller = _getController(event);
controller.add(data);
}
/ Publish an event with strict type checking
void publish<T>(String event, T data) {
tBE.validateEvent<T>(event);
final controller = _getController(event);
controller.add(data);
}