updateValue method
void
updateValue(
- T fn(
- T val
Updates the value using a transformation function.
Implementation
void updateValue(T Function(T val) fn) {
setValueInternal(fn(_value));
}
Updates the value using a transformation function.
void updateValue(T Function(T val) fn) {
setValueInternal(fn(_value));
}