updateWithEffects method

void updateWithEffects(
  1. T newValue
)

Update with side effects

Implementation

void updateWithEffects(T newValue) {
  value = newValue;
}