force method

void force(
  1. T? value
)

Forces the computed value to the given value, notifying listeners if the value changes.

Implementation

void force(T? value) {
  if (_value != value) {
    _value = value;
    notifyListeners();
  }
}