forceUpdate method

  1. @override
void forceUpdate(
  1. Component2 component,
  2. SetStateCallback? callback
)
override

Implementation

@override
void forceUpdate(Component2 component, SetStateCallback? callback) {
  if (callback == null) {
    component.jsThis.forceUpdate();
  } else {
    component.jsThis.forceUpdate(allowInterop(callback));
  }
}