updateState method
Implementation
Future<void> updateState(T? newState) async {
_updateCurrentEngineState(newState);
MeteorEventBus.commit(eventName: _eventName, data: newState);
}
Future<void> updateState(T? newState) async {
_updateCurrentEngineState(newState);
MeteorEventBus.commit(eventName: _eventName, data: newState);
}