forceUpdate method

  1. @Deprecated('Use .set(..., force: true) instead')
void forceUpdate([
  1. T? val
])

Force update a value

Implementation

@Deprecated('Use .set(..., force: true) instead')
void forceUpdate([T? val]) {
  assert(!_lazy && val != null, 'Lazy signal must be initialized first');
  this.set(val ?? value, force: true);
}