didRebuildDependent method

  1. @protected
  2. @mustCallSuper
void didRebuildDependent(
  1. Element dependent
)

Called by Element after being rebuild. This ensures that dependencies can react to elements that dynamically do or don't depend to them.

Implementation

@protected
@mustCallSuper
void didRebuildDependent(Element dependent) {
  assert(_dependents.containsKey(dependent));
}