update method
void
update(
- T fn(
- T
Set $ to the return value of fn
,
and rebuild the dependent widgets if it changed.
Implementation
void update(T Function(T) fn) {
$ = fn(_value);
}
Set $ to the return value of fn
,
and rebuild the dependent widgets if it changed.
void update(T Function(T) fn) {
$ = fn(_value);
}