updateTask method

  1. @action
void updateTask(
  1. String newTask
)

Implementation

@action
void updateTask(String newTask) {
  this.task = newTask;
}