removeTodo method

void removeTodo(
  1. int index
)

Implementation

void removeTodo(int index) {
  _todos.removeAt(index);
  notifyListeners();
}