UIStateController constructor

UIStateController(
  1. BaseStationConnection _connection
)

Implementation

UIStateController(this._connection) {
  // Setting must be listened on first because, such that the version can be determined
  _connection.onSettings.listen((settings) {
    _onSettings(settings);
  });
  _connection.onRaceState.listen((raceFullState) {
    _onRaceState(raceFullState);
  });
}