updateState method

Future<void> updateState(
  1. T? newState
)

Implementation

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