setTask method

void setTask(
  1. String task
)

Implementation

void setTask(String task) {
  _currentTask = task;
  notifyListeners();
}