update method
void
update(
- T transform(
- T value
Updates the value using the specified function of its value.
Implementation
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
void update(T Function(T value) transform) => value = transform(value);