updateTask method

void updateTask(
  1. AutonomyTask input
)

Updates the type of task being performed.

Implementation

void updateTask(AutonomyTask input) {
	task = input;
	notifyListeners();
}