debugDeactivated method

  1. @override
void debugDeactivated()
override

Called, in debug mode, after children have been deactivated (see deactivate).

This method is not called in release builds.

Implementation

@override
void debugDeactivated() {
  assert(() {
    assert(_dependents.isEmpty);
    return true;
  }());
  super.debugDeactivated();
}