update<T> method
T
update<T>(
- T updater()
Implementation
T update<T>(T Function() updater) {
T result = updater();
notifyListeners();
return result;
}
T update<T>(T Function() updater) {
T result = updater();
notifyListeners();
return result;
}