setRover method

Future<void> setRover(
  1. RoverType? value
)

Change which rover is being used.

Implementation

Future<void> setRover(RoverType? value) async {
  if (value == null) return;
  rover = value;
  models.home.setMessage(severity: Severity.info, text: "Using: ${rover.name}");
  await reset();
  notifyListeners();
}