forceValue method

void forceValue(
  1. T value
)

Force the value to be a specific value.

This setter will override the compute function.

Implementation

void forceValue(T value) {
  _value = value;
  notifyListeners();
}