debugDeactivated method Null safety

  1. @mustCallSuper
void debugDeactivated()
mustCallSuper">@mustCallSuper

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

This method is not called in release builds.

Implementation

@mustCallSuper
void debugDeactivated() {
  assert(_lifecycleState == _ElementLifecycle.inactive);
}