update method
void
update(
- T updater(
- T value
Updates the value reference with the given function.
Implementation
void update(T Function(T value) updater) {
value = updater(value);
}
Updates the value reference with the given function.
void update(T Function(T value) updater) {
value = updater(value);
}