changeActiveId method
- required int newId,
Assigns the required argument newId to id and calls notifyListeners
Implementation
void changeActiveId({required int newId}) /*async*/ {
id = newId;
notifyListeners();
}
Assigns the required argument newId to id and calls notifyListeners
void changeActiveId({required int newId}) /*async*/ {
id = newId;
notifyListeners();
}