setColor method

Future<bool> setColor()

Sends the color to the rover.

Implementation

Future<bool> setColor() async {
		isLoading = true;
		notifyListeners();
		final result = await models.rover.settings.setColor(color, blink: blink);
		errorText = result ? null : "The rover did not accept this command";
		isLoading = false;
		notifyListeners();
		return result;
	}