init method

Future<void> init()

Initializes necessary systems and models for the Mini Dashboard

Sets the rover type to localhost and disables the sockets until it is manually turned on by the user

Implementation

Future<void> init() async {
  await services.init();
  await models.init();
  await models.sockets.setRover(RoverType.rover);
  models.sockets.disable();

  models.settings.addListener(notifyListeners);

  notifyListeners();
}